home *** CD-ROM | disk | FTP | other *** search
/ The Hacker Chronicles - A…the Computer Underground / The Hacker Chronicles - A Tour of the Computer Underground (P-80 Systems).iso / network / nia37 < prev    next >
Text File  |  1992-09-26  |  105KB  |  2,168 lines

  1.   ZDDDDDDDDDDDDDDDDDD? IMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM; ZDDDDDDDDDDDDDDDDDD?
  2.   3   Founded By:    3 :  Network Information Access   : 3 Mother Earth BBS 3
  3.   3 Guardian Of Time 3D:            20JUN90            :D3  NUP:> DECnet    3
  4.   3   Judge Dredd    3 :       Guardian Of Time        : 3Text File Archives3
  5.   @DDDDDDDDBDDDDDDDDDY :            File 37            : @DDDDDDDDDBDDDDDDDDY
  6.            3           HMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM<           3
  7.            3           IMMMMMMMMMMMMMMMMMMMMMMMMMMMMM;             3
  8.            @DDDDDDDDDDD: VMS SYSTEM MANAGER'S MANUAL :DDDDDDDDDDDDDY
  9.                        :          CHAPTER 6          :
  10.                        HMMMMMMMMMMMMMMMMMMMMMMMMMMMMM<
  11.  
  12. SETTING UP A NETWORK
  13.  
  14. As the manager of a VMS system,  you may want to connect your system to a
  15. network.  This chapter describes the following network topics:
  16.  
  17. :  What a DECnet network is
  18. :  How a VMS system can be part of a DECnet network
  19. :  The responsibilities of the system manager in a network environment
  20. :  The procedures needed to bring up a VMS system as a node on an existing
  21.    network
  22. :  Techniques to keep the network running
  23.  
  24. NOTE:  Refer to Chapter 7 if you intend to set up and manage a Local Area
  25. VAXcluster configuration.  That chapter outlines the tasks required to
  26. configure a Local Area VAXcluster and describes CLUSTER_CONFIG.COM, the
  27. command procedure that you use to perform these tasks.
  28.  
  29. 6.1 General Description of a DECnet NETWORK
  30.  
  31. A DECnet network permits the linking of computers into flexible
  32. configurations to exchange information, share resources, and perform
  33. distributed processing.  A VMS operating system can participate in a DECnet
  34. network through its networking interface, DECnet-VAX.  As a part of a
  35. network, a VMS system can communicate with other VMS systems running on a full
  36. range of VAX processors, as well as with a wide range of non-VMS systems that
  37. use DECnet software.
  38.  
  39. DECnet distributed processing capabilities allow information to be gathered
  40. from anywhere in the network.  VMS systems can be placed at locations where
  41. they are required while still having access to the facilities of other
  42. widely dispersed systems.  Access to the network is available wherever it is
  43. needed: executive offices, factory floors, laboratories, field locations.
  44. Information can be exchanged between all parts of an organization or
  45. institution in a stable, integrated networking environment.
  46.  
  47. 6.1.1  What is a DECnet Network?
  48.  
  49. A DECnet network consists of two or more computer systems, called nodes,
  50. that are connected (for example, by means of cables, telephone lines,
  51. microwave or satellite links).  Adjacent nodes in a network are connected by
  52. lines over which circuits operate.  The line is the physical data path, and
  53. the circuit is the communications data path.  All input and output (I/O)
  54. between nodes takes place over circuits.  A node can be designed to have
  55. active circuits operating over a number of lines that connect that node to
  56. other nodes in the network.
  57.  
  58. DECnet permits computer processes running on the same or different computers
  59. to communicate with each other over logical links.  A logical link connects
  60. two processes and carries a stream of two-way communications traffic between
  61. the processes over one or more circuits.  Many logical links can be
  62. supported concurrently over a single circuit established between two nodes.
  63.  
  64. The process to which a logical link is connected is called an object.  Some
  65. objects are DECnet-VAX system programs (for exampl, the MAIL object); other
  66. subjects are user-written programs.  For two programs to communicate over
  67. the network, the program on the local node establishes a logical link with the
  68. object on the remote node.
  69.  
  70. In a network of more than two nodes, the process of directing a data message
  71. from a source node to a destination node is called routing.  DECnet
  72. supports adaptive routing, which permits messages to be routed through the
  73. network over the most cost-effetive path; messages are rerouted
  74. automatically if a circuit becomes disabled or a lower-cost path becomes
  75. available.
  76.  
  77. Nodes can be either routing nodes (called routers) or nonrouting nodes
  78. (known as end nodes).  Both routers and end nodes can send messages to and
  79. receive messages from other nodes in the network.  However, a router has the
  80. ability to forward or route messages from itself to another node.  A router
  81. can serve as an intermediate node on a path between two nodes exchanging
  82. messages, if the two nodes have no direct physical link to each other.  Any
  83. node that has two or more active circuits connecting it to the network must
  84. be a router.  An end node can only have one active circuit connecting it to
  85. the network.
  86.  
  87. A DECnet network can vary in size from a small to a very large network.  A
  88. typical small network might consist of two to four nodes.  A maximum of 1023
  89. nodes is possible in an undivided network, but the optimum number is
  90. approximately 200 to 300 nodes, depending on the topology ( the way the
  91. nodes and lines are arranged in the network ).
  92.  
  93. Very large DECnet networks can be divided into multiple areas:  Up to 63
  94. areas, each contaning a maximum of 1023 nodes.  In a multiple area network,
  95. the network manager groups nodes into separate areas, with each area
  96. functioning as a subnetwork.  Nodes in any area can communicate with nodes in
  97. other areas.  DECnet supports routing within each area and a second, higher
  98. level of routing that links the areas, resulting in less routing traffic
  99. throughout the network.  Nodes that perform routing within a single area are
  100. reffered to as level 1 routers; nodes that perform routing between areas as
  101. well as within their own area are called level 2 routers ( or area routers ).
  102.  
  103. The DECnet architecture follows industry standards and is designed to permit
  104. easy expansion and incorporation of new developments in data communications.
  105. DECnet offers the option of communicating over different kinds of network
  106. connections, which are for the most part transparent to the general user of
  107. the network.
  108.  
  109. 6.1.2  How DECnet-VAX Serves As The VMS Interface To The Network
  110.  
  111. DECnet is the collective name for the software and hardware products that
  112. are a means for various DIGITAL operating systems to participate in a
  113. network.  DECnet-VAX is the implementation of DECnet that allows a VMS
  114. operating system to function as a network node.  As the VMS network
  115. interface, DECnet-VAX supports both the protocols necessary for
  116. communicating over the network and the functions necessary for configuring,
  117. controlling, and monitoring the network.
  118.  
  119. DECnet-VAX networking software can be configured on any VMS operating system
  120. running on any VAX processor.  in a DECnet network, a DECnet-VAX node can
  121. communicate with other DECnet-VAX nodes or with any other operating system that
  122. supports DECnet.  In addition, DECnet-VAX node can use a packet switching
  123. network to communicate with nodes on other networks and can use gateways and
  124. other special software and hardware products to communicate with foreign
  125. vendor systems.
  126.  
  127. DECnet-VAX is tightly coupled to the VMS operating system.  It is completely
  128. integrated into the operating system and provides a natural extension of
  129. local I/O operations to remote systems.  VMS users can use the network
  130. almost transparently.
  131.  
  132. Because DECnet-VAX is a part of the VMS operating system, you can use the
  133. DECnet-VAX interface as a standard part of a standalone operating system
  134. ( for example, to prepare network application programs ).
  135.  
  136. Before you can bring up your system as a node in a multinode environment,
  137. you must have a DECnet-VAX license and register a DECnet-VAX key on your
  138. system.
  139.  
  140. 6.1.3 What Does a DECnet Network Look Like?
  141.  
  142. to be linked in flexible configurations.  The basic kinds of environments
  143. into which a DECnet network can be configured are the local rea network and
  144. the wide area network.  The local area network permits communication within a
  145. limited geographic area, while a wide area network permits long-distance
  146. communications.  Local area networks and wide area networks can be
  147. integrated into a single large network.
  148.  
  149. A local area network provides a high-speed communications channel designed
  150. to connect information processing equipment in a specific geographic area,
  151. such as an office, a building, or a cluster of buildings (for example, a
  152. campus).  The DIGITAL local area network uses the Ethernet: a single shared
  153. network channel.  All nodes have equal access to the channel.  Because the
  154. Ethernet is a multi-access device, new nodes can be added without affecting
  155. existing nodes on the Ethernet.
  156.  
  157. An Ethernet is a coaxial cable, to which each system or device is
  158. connected by a single line.  In an office or other area where personal
  159. computers and workstations are located, ThinWire Wthernet cabling is
  160. usually used.  The Ethernet supports a very high rate of data
  161. transmission (up to 10 million bits per second) in a limited area.
  162.  
  163. DECnet-VAX also offers comprehensive wide-area network support and long-haul
  164. connectivity over point-to-point connections.  Point-to-point connections,
  165. which use the DIGITAL Data Communications Message Protocol (DDCMP), are
  166. synchronous or asynchronous.  Synchronous devices provide high-speed
  167. connections over dedicated lines or telephone lines ( using modems ).
  168. Asynchronous devices provide low-speed, low-cost connections over terminal
  169. lines that are switched on for network use either permanently ( a static
  170. connection ) or temporarily ( a dynamic connection ).  For example, a user
  171. on a MicroVAX can configure a dialup line to another comptuer as a dynamic
  172. asynchronous DECnet line for the duration of a telephone call.
  173.  
  174. 6.1.4  System And Network Manager REsponsiblities
  175.  
  176. As system manager of a DECnet-VAX node, you are repsonsible for establishing
  177. your system as a node in the network, and controlling and monitoring your
  178. node.  To configure your system as a network node, you must supply
  179. information at the local node about network components, including the local
  180. node, remote nodes, circuits, lines, and objects.  This information
  181. constitutes what is called the configuration database for the local node.
  182. Each node in the network has such a database.  As manager of your system,
  183. you supply information about the configuration database using the Network
  184. Control Program (NCP) utility.
  185.  
  186. If you are configuring a DECnet-VAX node for the first time or rebuilding
  187. the configuration database for your local node, you can use the interactive
  188. NETCONFIG.COM procedure to configure your node automatically.  Once you
  189. start up your DECnet-VAX node and verify its connection to the network, you
  190. can use the NCP utility to control and monitor local network operations, and
  191. test network software operation.
  192.  
  193. Planning for configuration of your node in an existing network usually
  194. involves coordinating with the system managers of other nodes in the network
  195. or with the manager of the network (if a manager has been designated) to
  196. ensure uniform network parameter settings.
  197.  
  198. To create a new network, the managers of individual systems should connect
  199. their systems by means of communications lines; the system managers should
  200. then configure their own systems as network nodes and start DECnet on their
  201. nodes.
  202.  
  203. A system manager of a network may also be called upon to provide DECnet-VAX
  204. host services for other DECnet nodes.  Host services include loading system
  205. images and programs downline to unattended remote nodes, and receiving for
  206. interpretation upload dumps of system images from nodes that have crashed.
  207. For example, DECnet-VAX permits you to load an operating system image or a
  208. terminal server image downline to a target node.  Another DECnet-VAX host
  209. service involves connecting to an unattended remote node (for example, a
  210. diskless communications server) to act as its console.
  211.  
  212. For a larger network, one person, who may be the manager of a network node,
  213. is usually designated as the manager of the network.  The network manager is
  214. responsible for planning, building and fine-tuning a whole network to run with
  215. maximum efficiency.  The network manager makes networkwide configuration
  216. decisions, such as the kinds of paths to be established, which nodes should
  217. be routers or end nodes, and whether the network should be divided into
  218. areas.  The network manager also sets values for network parameters that
  219. should be the same across the network.
  220.  
  221. Managing a network usually involves regular monitoring to detect patterns of
  222. usuage and error conditions on the network, and performing remote
  223. configuration of the network to control traffic patterns and accommodate
  224. network growth.  System and network managers also perform maintenance
  225. procedures (to avoid serious problems from developing) and troubleshooting
  226. procedures (to resolve problems quickly).  Using network software, the
  227. manager can obtain statistics on network usuage and routing parameters.
  228. Network loggin files provide error statistics useful in diagnosing potential
  229. problems.  NCP commands display the status of nodes, lines and circuits in
  230. the network.
  231.  
  232. 6.2 Getting Started On The Network
  233.  
  234. There are two ways to establish your VMS system as part of a DECnet-VAX
  235. network:
  236.  
  237. : Bring up your VMS system as a network node:  If you are the manager of a
  238.   VMS system, you can physically connect your system to an existing DECnet
  239.   network by means of a communications line, and bring your system up as a
  240.   network node by performing the DECnet-VAX installation procedure.  The
  241.   DECnet-VAX installation procedure you perform on your system involves
  242.   registering the DECnet-VAX key using the VMS License Management Utility,
  243.   configuring your node as part of the network, starting the network, and
  244.   verifying that you are connected to the network.
  245.  
  246. : Create a new network:  If there is no existing network to which you can
  247.   connect, you can cooperate with the managers of other systems to create a new
  248.   network.  A network is formed when two or more systems are connected by
  249.   communications lines and each system is brought up as a network node.  For
  250.   larger networks, the system manager of one node may also manage the network.
  251.  
  252. 6.2.1  Preparing To Bring Up Your System As A Node On An Existing Network
  253.  
  254. If you are the system manager of a VMS system, you can install the
  255. DECnet-VAX license and configure your system as a node on an existing
  256. network.  You can be connected permanently to the network, in which case you
  257. will be able to communicate with any other node on the network.  You can also
  258. optionally choose to establish a temporary connection to another system over
  259. a telephone line.  This temporary DECnet connection between two systems may
  260. result in a network that exists only for the duration of the telephone call.
  261.  
  262. Before you begin the procedure for starting DECnet-VAX on your system, you
  263. should check your hardware and connect any required communications lines.
  264. You should also prepare your VMS operating system for the network
  265. environment and decide how you want to configure your node.
  266.  
  267. 6.2.1.1 Connecting the Communications Hardware On Your System
  268.  
  269. A network is a flexible configuration of computers and terminals
  270. interconnected by communicciations lines.  You should identify the equipment
  271. you need to connect your VAX computer to an existing network.  For each
  272. connection, this equipment normally includes:
  273.  
  274. :  A communications controller device (line device) that contains one/more
  275.    interface points called ports.  (The line device is installed on your
  276.    processor.)
  277.  
  278. :  A communications line to connect the port to the network.
  279.  
  280. Consult your DIGITAL sales support representative if you are not familiar with
  281. the equipment that you require or if you need to install such equipment.
  282. Following the instructions in the hardware user manuals included with the
  283. equipment, you should be able to connect each network communications line to
  284. the appropriate port.
  285.  
  286. A VAX computer on which a VMS operating system is running can be connected
  287. to the network by means of high-speed lines ( such as an Ethernet cable or a
  288. synchronous point-to-point line).  A VMS system can also be connected to a
  289. network by means of a low speed, low cost asynchronous line.  An
  290. asynchronous point-to-point connection can be established over any VMS
  291. terminal line between a VMS system and other system (which can be a non-VMS
  292. system) that supports the DECnet asynchronous DIGITAL Data Communications
  293. Message Protocol (DDCMP).  An asynchronous connection can optionally be made
  294. over a dialup line (for example, a telephone line) if a modem is used at
  295. each end of the connection.  A modem is a device that connects the terminal
  296. line to the telephone line.  MOdems may be purchased from DIGITAL, along with
  297. the appropriate installation documentation.
  298.  
  299. A VAX processor can have a number of communications ports, depending on the
  300. model.  The possible connections are limited only by the number of devices
  301. that your processor can support, as specified in the DECnet-VAX Software
  302. Product Description load unit tables, and the devices that you can configure
  303. for your node.
  304.  
  305. 6.2.1.1 Connecting the Communications Hardware on Your System
  306.  
  307. A network is a flexible configuration of computers and terminals
  308. interconnected by communications lines.  You should identify the equipment
  309. you need to connect your VAX computer to an existing network.  For each
  310. connection, this equipment normally includes
  311.  
  312. :  A communications controller device(line device) that contains one or more
  313.    interface points called ports.  ( The line device is installed on your
  314.    processor.)
  315.  
  316. : A communications line to connect the port to the network.
  317.  
  318. Consult your DIGITAL sales support representative if you are not familiar with
  319. the equipment that you require, or if you need to install such equipment.
  320. Following the instructions in the hardware user manuals included with the
  321. equipment, you should be able to connect each network communications line to
  322. the appropriate port.
  323.  
  324. A VAX computer on which a VMS operating system is running can be connected
  325. to the network by means of high speed lines ( such as an Ethernet cable or a
  326. synchronous point-to-point line). A VMS system can also be connected to a
  327. network by means of a low-speed, low-cost asynchronous line.  An
  328. asynchronous point-to-point connection can be established over any VMS
  329. terminal line between a VMS system and another system (which can be a
  330. non-VMS system) that supports the DECnet asynchronous DIGITAL Data
  331. Communications Message Protocol (DDCMP).  An asynchronous connection can
  332. optionally be made over a dialup line ( for example, a telephone line), if a
  333. modem is used at each end of the connection.  A modem is a device that
  334. connects the terminal line to the telephone line.  MOdems may be purchased
  335. separately from DIGITAL, along with the appropriate installation
  336. documentation.
  337.  
  338. A VAX processor can have a number of communications ports, depending on the
  339. model.  The possible connections are limited only by the number of devices
  340. that your processor can support, as specified in the DECnet-VAX Software
  341. Product Description load unit tables, and the devices that your configure
  342. for your node.
  343.  
  344. 6.2.1.2 Preparing Your VMS System for the Network Environment
  345.  
  346. Before you bring up DECnet-VAX on your system, you should take the following
  347. steps to prepare your system to function as part of the network:
  348.  
  349. Check to see if you have the privileges you need to perform network
  350. operations.  The minimum privileges that a system manager normally requires
  351. to configure and control the network and run network programs are SYSPRV,
  352. OPER, TMPMBX, NETMBX, & BYPASS.  A list of privileges required for network
  353. operations appears in TABLE 6-1.
  354.  
  355. Enter the DCL command SHOW PROCESS/PRIVILEGES to determine which of your
  356. authorized privileges are currently enabled, and use the SET
  357. PROCESS/PRIVLEGES command to enable any additional privileges you are
  358. authorized to have that are required for network operations.
  359.  
  360. Decide whether you want to establish a default nonprivileged DECnet account
  361. and directory.  The nonprivileged account is a default DECnet account that
  362. is used in either of the following conditions:
  363.  
  364.   When a user on a remote network node does not explicitly supply access
  365.   control information (the user name/password) when requesting a connection
  366.   to the local node, or
  367.  
  368.   There is no proxy account to use on your system
  369.  
  370. An account is required to use certain VMS utilities, such as MAIL or PHONE,
  371. over the network.  If you want the default account you can request that the
  372. DECnet-VAX configuration procedure, NETCONFIG.COME, establish a default
  373. nonprivileged account and directory for your node automatically.  As an
  374. alternative, you can establish a nonprivileged account and directory
  375. manually.
  376.  
  377. Set up any proxy accounts that you want to establish for your node.  A proxy
  378. login account allows a user on a remote node on the network to access data
  379. by way of a local account on your system.  You should never grant proxy
  380. access to privileged accounts.
  381.  
  382. If necessary, tune your VMS system to accommodate DECnet-VAX software.  The
  383. network manager who establishes network configuration guidelines should
  384. provide you with any required information if you need to update VMS system
  385. parameters and quotas.
  386. IMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM;
  387. :TABLE 6-1: VMS Privileges Required For DECnet-VAX Operations                :
  388. :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD:
  389. :Privilege              Network Operations                                   :
  390. :ACNT                   Required to start the network; permits you to        :
  391. :                       suppress accounting messages                         :
  392. :BYPASS                 Permits you to view passwords in the DECnet-VAX      :
  393. :                       databases                                            :
  394. :CMKRNL                 Required to start the network; permits a process to  :
  395. :                       access the VMS kernel                                :
  396. :DETACH                 Required to start the network;allos you to create    :
  397. :                       detached processes                                   :
  398. :NETMBX                 Required for all network userrs; needed for any      :
  399. :                       network operation; needed to create a logical link   :
  400. :OPER                   Allows you to perform operator functions such as     :
  401. :                       modifying the DECnet-VAX volatile database           :
  402. :TMPMBX                 Required for all network users and default DECnet    :
  403. :                       accounts; needed to run NCP and to create a temporary:
  404. :                       mailbox                                              :
  405. :SYSNAM                 Permits you to declare a name or object number in a  :
  406. :                       user task                                            :
  407. :SYSPRV                 Required to access the DECnet-VAX permanent database :
  408. HMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM<
  409.  
  410. 6.2.1.3 Planning the Configuration of Your DECnet-VAX Node
  411.  
  412. Before you specify how your node is to be configured as part of an existing
  413. network, you should make the following decisions:
  414.  
  415. Select a unique node name and node address for your system.  If a network
  416. manager has been designated for your network, request a node name and
  417. address from the network manager.  If your node is a member of a VAXcluster,
  418. obtain your node name/address from the VAXcluster manager. ( The VAXcluster
  419. node name must be set in the VMS system parameter SCSNODE and the node
  420. address in SCSSYSTEMID ).
  421.  
  422. Each node in the netowrk is identified by a specific name and a numeric
  423. address by which the node is known to other nodes in the network.  The node
  424. name can be no more than six alphanumeric characters ( including at least
  425. one alphabetic character ).  The node address consists of an area number (
  426. in the range from 1 to 63, w/ a default value of 1 ), and a node number ( in
  427. the range from 1 to 1023 ) separated by a period ( for example 2.2 ).
  428.  
  429. If you node is a member of a VAXcluster that uses an alias node identifier (
  430. an alias name/address), you can obtainthe alias identifier from the
  431. VAXcluster manager.  An alias node identifier, common to some or all nodes
  432. in a cluster, permits remote nodes to treat the cluster as though it were a
  433. single node.  Individual nodes in a VAXcluster can optionally assume the
  434. alias, while retaining their individual node names.  You can use the alias
  435. adopted by the cluster, as well as your own node name, to communicate w/
  436. other nodes in the network.
  437.  
  438. Determine the node names and addresses of all other nodes in  your netowrk
  439. to which you want to connect.  To obtain the correct node name/address of
  440. each node, you can contact the network manager or, if necessary, the
  441. individual system managers of the other nodes.  You must enter this remote
  442. node information in your network node database.
  443.  
  444. Alternatively, you can determine whether the names/address of the nodes that
  445. you want to define are already defined in the network database of another
  446. node.  If you have the appropriate access, you can copy the node database
  447. information from a remote node into your node database.
  448.  
  449. Decide whether your system is to be a router or an end node.  If you have a
  450. DECnet full function license and the accompanying DECnet-VAX key, you have
  451. the option of configuring your system as either a router or an end node.  If
  452. your DECnet license and key are for the end node capability, you can only
  453. configure your system as an end node.
  454.  
  455. Determine the types of connections that will be made to the network:
  456. Ethernet, synchronous DDCMP, or asynchronous DDCMP connections.  You can use
  457. the network configuration procedure NETCONFIG.COM to configure all circuits
  458. and lines automatically except for asynchronous circuits and lines.
  459.  
  460. 6.2.2 Installing DECnet-VAX on Your System
  461.  
  462. This section describes the procedure for installing DECnet-VAX on your VMS
  463. operating system.  Use this installation procedure to bring up your system
  464. as a node on an existing DECnet network.
  465.  
  466. To perform the installation procedure, you should log in to the SYSTEM
  467. account on your node.  The DECnet-VAX installation procedure consists of the
  468. following steps:
  469.  
  470. 1.  Purchase the DECnet-VAX license and the DECnet-VAX key and register the
  471.     key on your system, using the VMS License Management Utility.
  472.  
  473. 2.  Configure your DECnet-VAX node and define the remote node names.  You
  474.     can configure your node and turn on the network at your node either
  475.     automatically or manually.
  476.  
  477. 3.  If you plan to use an asynchronous DECnet connection, perform any steps
  478.     needed to establish the connection.
  479.  
  480. 4.  Verify that your node is connected to the network.
  481.  
  482. 6.2.2.1 Getting a DECnet-VAX License and Key
  483.  
  484. To permit your node to communicate w/ other nodes in the networ, you must
  485. have a DECnet-VAX license and register a DECnet-VAX key on your system using
  486. the VMS License Management Utility.  You can purchase either an end node or
  487. a full function license and the corresponding key.  The end node key permits
  488. you to configure your node only as an end node.  The full function key
  489. permits you to configure your node as either a routing node or an end node.
  490. You can also use the full function key to upgrade from end node to full
  491. function capability.
  492.  
  493. 6.2.2.2 Configuring Your DECnet-VAX Node
  494.  
  495. You are now ready to configure your DECnet-VAX system.  You can configure
  496. the node automatically or manually.
  497.  
  498. You can use the automatic configuration procedure when you first bring up
  499. the node or when you reconfigure it completely.
  500.  
  501. You can use manual configuration techniques to bring up a new node,
  502. reconfigure a node, or modify an existing configuration.
  503.  
  504. The system manager at each node in the network is responsible for the
  505. DECnet-VAX configuration database for the node.  The database includes the
  506. files that describe the local (executor) node and the other nodes in the
  507. network w/ which the local node can communicate, as well as the circuits and
  508. lines that connect the local node to the network.  The network database also
  509. includes information on the logging collection points ( such as the logging
  510. montiro ), to which network events are reported.  In addition, DECnet-VAX
  511. provides a default object database desribing objects ( such as MAIL ) known
  512. to the network.  Each node in the network has such a database.
  513.  
  514. The configuration database comprises the volatile database ( the working
  515. copy of the database that reflects current netowrk conditions) and the
  516. permanent database ( which provides the initial values for the volatile
  517. database when you start the network ).  Modifications to the volatile
  518. database exist only while the network is running.  Changes made to the
  519. permanent database remain after the network is shut down, but do not affect
  520. the current system.
  521.  
  522. As system manager, you provide network component information, from the point
  523. of view of the local node, int he configuration database at the local node.
  524. Use the Network Control Program ( NCP ) to supply this information in the
  525. form of parameter vaules, which determine how the various components of the
  526. network function together.  Use NCP DEFINE commands to establish the
  527. contents of the permanent database and SET commands to specify the contents
  528. of the volatile database.  Use PURGE commands to delete permament database
  529. entries and CLEAR commands to delete or reset volatile database entries.
  530.  
  531. Configuring Your NOde Manually
  532.  
  533. You can always configure your node manually; however, you have the option of
  534. doing it automatically ( as described in the next section ) if you are
  535. configuring a new node or compeletly reconfiguring a node.
  536.  
  537. If you decide to configure your node manually, you must enter NCP commands
  538. to establish the permanent configuaration database and then turn on the
  539. network manually, causing the contents of the permnent database to be
  540. entered in the volatile database.  A brief explanatioon of how to use NCP to
  541. establish your configuration database manually appears later in this
  542. section.
  543.  
  544. If you decide to configure your node manually, you can optionally create a
  545. default nonprivileged DECnet account and directory for your node manually.
  546.  
  547. Configuring Your Node Automatically
  548.  
  549. You can use the interactive command procedure NETCONFIG.COM to configure
  550. your system automatically.  NETCONFIG.COM configures all required permanent
  551. database entries except for remote nodes, asynchronous circuits, and lines.
  552. You can also use the command prcedure to set up the optional default
  553. nonpriviledged DECnet account on your system.
  554.  
  555. Use NETCONFIG.COM only if you are bringing up your node for the first time,
  556. or want to reconfigure your node completely.  The procedure purges any
  557. existing permanent database entries on your system (except for remote node
  558. entires).  You must have the privilege SYSPRV to use NETCONFIG.COM to
  559. configure your node.
  560.  
  561. If you decide to use the NETCONFIG.COM command procedure to configure your
  562. node automatically, perform the following steps.  Default values appear in
  563. brackets [] after certain questions in the interative dialog.  To accept a
  564. default, press RETURN.
  565.  
  566. 1.  Log in to the SYSTEM account on your node.
  567.  
  568. 2.  Invoke NETCONFIG.COM.  Enter the following command at the dollar sign
  569.     ($) prompt:
  570.  
  571.     $ @SYS$MANAGER:NETCONFIG
  572.  
  573.     The following message is displayed:
  574.  
  575.     DECne-VAX network configuration procedure
  576.     This procedure will help you define the parameters needed to get
  577.     DECnet-VAX running on this machine.  You will be shown the changes
  578.     before they are executed, in case you want to perform them manually.
  579.  
  580. 3.  Provide the node name.  You will be promted as follows:
  581.  
  582.     What do you want your DECnet node name to be?
  583.  
  584.     Enter the node name you have selected ( or have been assigned by the
  585.     network manager ), your node name must be six alphanumeric characters or
  586.     less, and must be unique among all node names in the network
  587.  
  588.     (If you are on a VAXcluster node, you must press RETURN to accept the
  589.     default node name that appears in brackets at the end of the prompt.  This
  590.     default node name is based on the SYSGEN parameter SCSNODE.  If no default
  591.     node name is displayed, exit the procedure and use SYSGEN to set up a value
  592.     for SCSNODE, then restart the procedure.  The DECnet node name of a
  593.     VAXcluster node must match the value of SCSNODE ).
  594.  
  595. 4.  Provide the node address.  You will be promted as follows:
  596.  
  597.     What do you want your DECnet address to be?
  598.  
  599.     Enter the node address you have selected/assigned.  The node address is
  600.     a numeric value of the following format?
  601.  
  602.     area-number.node-number
  603.  
  604.     Area-Number ( 1 to 63 ) designates the area in which the node is grouped
  605.     and node number ( 1 to 1023 ), designates the node's unique address w/in
  606.     the area.  If you do not specify an area number, the system will supply
  607.     a default area number ( the default value is 1 ).
  608.  
  609.     (If you are on a VAXcluster node, you must press RETURN to accept the
  610.     default node address that appears in brackets at the end of the prompt.
  611.     This default node address is based on the SYSGEN parameter SCSSYSTEMID.  If
  612.     no default node address is displayed, exit the procedure and use SYSGEN to
  613.     set up a value for SCSSYSTEMID, then restart the procedure.  The DECnet node
  614.     address of a VAXcluster node must match the value of SCSSYTEMID.).
  615.  
  616. 5.  Specify router or nonrouter status.  You will be promted as follows:
  617.  
  618. Do you want to operate as a rounter? [NO (nonrouting)]
  619.  
  620. Press return to operate as a nonrouter ( that is, as an end node ).  Type
  621. YES and press RETURN if you want your ssytem to be a router and if you have
  622. registered the DECnet-VAX full function key or will register it before you
  623. start up the network.
  624.  
  625. 6.  Set up the nonprivileged DECnet account.  You will be promted as
  626.     follows:
  627.  
  628. Do you want a default DECnet account? [YES]
  629.  
  630. Press RETURN to set up the default nonprivileged DECnet account and
  631. directory.  Type NO and Press RETURN if you do not want to set up the
  632. account.
  633.  
  634. 7.  Apply the configuration.  The network configuration procedure displays
  635. the list of commands ncedssary to start up your network. ( An example
  636. showing the commands appears later in this section ).
  637.  
  638. You will be promted as follows:
  639.  
  640. Do you want these commands to be executed? [YES]
  641.  
  642. Press return to configure the network; type NO and press RETURN to cancel
  643. the configuration operation.  If you choose to configure the network, the
  644. procedure displays a series of information messages and the following
  645. statement:
  646.  
  647. The changes have been made.
  648.  
  649. 8.  Turn on the network.  You will then receive the following messages,
  650. ending in a prompt:
  651.  
  652. If you have not already registered the DECnet-VAX key, then do so now.
  653. After the key has been registered, you should invoke the procedure
  654. SYS$MANAGER:STARTNET.COM to start up DECnet-VAX w/ these changes. ( if the
  655. key is already registered ) Do you want DECnet started? [YES]
  656.  
  657. You can respond to this prompt in either of the following ways:
  658.  
  659. Type No and press RETURN in response to the last prompt if you need to
  660. register the key on your system at this point.  Register the key using the
  661. VMS License Management Utility.  Once the DECnet-VAX key is registered, you
  662. can then start up DECnet-VAX manually w/ these configuration changes by
  663. entering the following command:
  664.  
  665. $ @SYS$MANAGER:STARTNET
  666.  
  667. (You can also type NO and press RETURN in response to the last prompt if the
  668. key is already registered but you do not want to start the network until a
  669. later time ).
  670.  
  671. Press RETURN in response to the last prompt if you want to start the network
  672. at this time and the key is already registered.  The procedure turns on the
  673. network and displays the identification numbes of the created processes.
  674. When the dollar sign ($) prompt appears, you have successfully configured
  675. and turned on the DECnet-VAX network.
  676.  
  677. If you want the network to be started automaticallly each time the VMS
  678. operating system is booked, enable the following command in the
  679. SYS$MANAGER:SYSTEARUP_V5.COM ccommand procedure ( by deleteing the
  680. exclamation point at the beginning of this command line in the command
  681. procedure):
  682.  
  683. $ @SYS$MANAGER:STARTNET
  684.  
  685. Note that you can optionally press RETURN to start the network w/out the key
  686. being registered, if you want to use DECnet-VAX only at your local node.
  687. The key IS required if you want to establish connections to other nodes in
  688. the network.
  689.  
  690. Example 6-1 shows the interatctive dialog that is dsiplayed when you invokde
  691. NETCONFIG.COM to configure node PURPLE w/ address 2.3 ass an end node w/ a
  692. default DECnet account.  In this example, node PURPLE is connected to
  693. Ethernet Circuit UNA-0.
  694. ZDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDBDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD?
  695. 3EXAMPLE 6-1: SAMPLING NETCONFIG.COM DIALOUGE3                               3
  696. CDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDADDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD4
  697. 3DECnet-VAX network configuration procedure                                  3
  698. 3This procedure will help you define the parameters needed to get DECnet     3
  699. 3running on this machine.  You will be shown the changes before they are     3
  700. 3actually executed, in case you want to perform them manually.               3
  701. 3                                                                            3
  702. 3What do you want your DECnet node name to be?        : PURPLE               3
  703. 3What do you want your DECnet address to be?          : 2.3                  3
  704. 3Do you want to operate as a router [NO(nonrouting)]  : RET                  3
  705. 3Do you want a default DECnet Account?          [YES] : RET                  3
  706. 3   Here are the commands necessary to set up your system.                   3
  707. 3                                                                            3
  708. 3---------------------------                                                 3
  709. 3                                                                            3
  710. 3 $ RUN SYS$SYSTEM:NCP                                                       3
  711. 3   PURGE EXECUTOR ALL                                                       3
  712. 3   PURGE KNOWN LINES ALL                                                    3
  713. 3   PURGE KNOWN CIRCUITS ALL                                                 3
  714. 3   PURGE KNOWN LOGGING ALL                                                  3
  715. 3   PURGE KNOWN OBJECTS ALL                                                  3
  716. 3   PURGE MODULE CONFIGURATOR KNOWN CIRCUITS ALL                             3
  717. 3 $ DEFINE/USER SYS$OUTPUT NL:                                               3
  718. 3 $ DEFINE/USER SYS$ERROR NL:                                                3
  719. 3   PURGE NODE 2.3 ALL                                                       3
  720. 3   PURGE NODE PURPLE ALL                                                    3
  721. 3 $ RUN SYS$SYSTEM:NCP                                                       3
  722. 3   DEFINE EXECUTOR ADDRESS 2.3 STATE ON                                     3
  723. 3   DEFINE EXECUTOR MAXIMUM ADDRESS 1023                                     3
  724. 3   DEFINE EXECUTOR ROUTING TYPE NONROUTING IV                               3
  725. 3   DEFINE EXECUTOR NONPRIVILEGED USER DECNET                                3
  726. 3 $ DEFINE/USER SYSUAF SYS$SYSTEM:SYSUAF.DAT                                 3
  727. 3 $ RUN SYS$SYSTEM:AUTHORIZE                                                 3
  728. 3   ADD DECNET /OWNER="DECNET DEFAULT" -                                     3
  729. 3   /PASSWORD="" -                                                           3
  730. 3   /UIC=[376,376] /ACCOUNT=DECNET -                                         3
  731. 3   /DEVICE=SYS$SYSDEVICE: /DIRECTORY=[DECNET] -                             3
  732. 3   /PRIVILEGE=(TMPMBX,NETMBX) -                                             3
  733. 3   /FLAGS=(CAPTIVE) /LGICMD=NL: -                                           3
  734. 3   /NOBATCH /NOINTERACTIVE                                                  3
  735. 3 $ CREATE/DIRECTORY SYS$SYSDEVICE:[DECNET] /OWNER = [377,376]               3
  736. 3 $ RUN SYS$SYSTEM:NCP                                                       3
  737. 3   DEFINE LINE     UNA-0 STATE ON                                           3
  738. 3   DEFINE CIRCUITE UNA-0 STATE ON COST 1                                    3
  739. 3   DEFINE LOGGING MONITOR STATE ON                                          3
  740. 3   DEFINE LOGGING MONTIOR EVENTS 0.0-9                                      3
  741. 3   DEFINE LOGGING MONITOR EVENTS 2.0-1                                      3
  742. 3   DEFINE LOGGING MONITOR EVENTS 4.2-13,15-16,18-19                         3
  743. 3   DEFINE LOGGING MONITOR EVETNS 5.0-18                                     3
  744. 3   DEFINE LOGGING MONITOR EVENTS 128.0-4                                    3
  745. 3   Do you want these commands to be executed?        [YES]:RET              3
  746. 3   The changes have been made.                                              3
  747. 3   If you have not already registered the DECnet-VAX key, then do so now.   3
  748. 3   After the key has been registered, you should invoke the procedure       3
  749. 3   SYS$MANAGER:STARTNET.COM to start up DECnet-VAX w/ these changes.        3
  750. 3   (if the key is already registered) Do you want DECnet Started [YES]: RET 3
  751. @DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDY
  752.  
  753.  
  754. 9.  Define the other node names.  At the Dollar sign ($) prompt, invoke the
  755. Network Control Program (NCP) by entering the following command:
  756.  
  757. $ RUN SYS$SYSTEM:NCP
  758.  
  759. For each remote node in the network that you want to identify by node name,
  760. enter the following command to define the node address and name in your
  761. permanent node database:
  762.  
  763. NCP>DEFINE NODE address NAME name
  764.  
  765. Address is the existing node address in the form area-number.node-number,
  766. and name is the node name.  If you omit the area number from the node
  767. address, the area number of your local node is used.  The netowkr manager or
  768. the system manager of the remote node you want to define can provide you
  769. with the correct name and address.
  770.  
  771. If a node that you can access on your network has a node database that
  772. contains all the node names and addresses you want to define and you have
  773. the appropriate privileges to access that database, you can enter the
  774. following command at the NCP prompt ( provided the network is turned on ):
  775.  
  776. NCP>COPY KNOWN NODES FROM node-id TO PERMANENT
  777.  
  778. In this command, node-id is the node name or address of the remote node from
  779. which you are copying the information.  If you specify the node name, that
  780. name must be in your volatile databse.  All the node names/addresses are
  781. copied to your permanent node database from the volatile node database of
  782. the remote node.
  783.  
  784. If your node is a memeber of a VAXcluster that uses an alias node identifier
  785. ( an alias node name/address ), your node can adopt the alias.  Specify the
  786. following commands to define the alias node address and name in the
  787. permanent node database, and associate the alias identifier with your node:
  788.  
  789. NCP>DEFINE NODE address NAME name
  790. NCP>DEFINE EXECUTOR ALIAS NODE node-id
  791.  
  792. for the node-id, you can specify either the alias node address or name that
  793. you have defined.  Your node can then be identified by the alias node
  794. name/address as well as by its unique node name/address when DECnet is
  795. running.
  796.  
  797. Then enter the following commands to create the volatile node database for
  798. your node:
  799.  
  800. NCP>SET KNOWN NODES ALL
  801. NCP>EXIT
  802.  
  803. The other nodes on the network should define your node name/address in their
  804. node databases in order to be able to communicate with your node by node
  805. name.  If a network manager assigned the unique node name/address to your
  806. node, the manager can define your node name in an overall network node
  807. database.
  808.  
  809. 10.  Determine how to proceed.  You have completed the network startup
  810. procedure, if you plan to use asynchronous DECnet, continue to the next
  811. section, which describes how to establish asynchronous connections.
  812.  
  813. 6.2.2.3 Establishing Asynchronous DECnet Connections to Other Systems
  814.  
  815. The automatic network configuration procedure described in the previous
  816. section does not configure asynchronous lines and circuits.  As a VMS system
  817. manager, you have the option of connecting your VMS system to another system
  818. by means of a low-cost, low-speed asynchronous DECnet line.  The two types
  819. of asynchronous DECnet connections you can establish are as follows:
  820.  
  821. : A static asynchronous DECnet connection, which creates a permanent DECnet
  822.   link to a single remote node.
  823.  
  824. : A dynamic asynchronous DECnet connection, which provides a temporary
  825. DECnet link.  You can establish dynamic connections to different remote
  826. nodes at different times.
  827.  
  828. Note that non-VMS systems that support DECnet asynchronous DDCMP lines can
  829. make asynchronous DECnet connections to VMS systems.  The asynchronous
  830. connection can be between two routers, a router and an end node, or two end
  831. nodes.  If you are on an end node and want to make an asynchronous
  832. connections, it will be your only cennection to the network, because an end
  833. node can only have one circuit active at a time.
  834.  
  835. Establishing a Static Asynchronous Connection
  836.  
  837. A static asynchronous DECnet connection is a permanent connection between
  838. two nodes.  This type of connection can be made in one of two ways:
  839.  
  840. :  The nodes can be connected by a physical line ( a null modem cable )
  841.    attached to a terminal port at each system.  No modems are required.  You
  842.    can communicate with the other system at any time.
  843.  
  844. :  The connection can be made over a dialup line using modems at both ends
  845.    of the line.  For example, your VMS system can establish a static
  846.    asynchronous connection to a remote node over a telephone line.
  847.  
  848. You can configure your static asynchronous line as soon as you have executed
  849. NETCONFIG.COM, and then turn on the network manually.  If you system is
  850. brought up as a routing node, you can establish a static asynchronous
  851. connection at any time, no matter how many network connections you already
  852. have.
  853.  
  854. Follow the tsteps outlined in this section to establish a static
  855. asynchronous connection.  For the connection to be successful, the node with
  856. which you are creating a DECnet link must also establish an asynchronous
  857. DECnet connection with your node. ( note that the line speeds at each end of
  858. the connection must be the same ).
  859.  
  860. 1.  Log in to the SYSTEM account on your VMS node.
  861.  
  862. 2.  Load the asynchronous DDCMP driver, NODRIVER (NOA0).  Enter the commands
  863. shown below at your terminal ( or include them in the
  864. SYS$MANAGER:SYSTARTUP_V5.COM command procedure before you boot the system ).
  865.  
  866. $ RUN SYSTEM:SYSGEN
  867. SYSGEN> CONNECT NOA0/NOADAPTER
  868. SYSGEN> EXIT
  869.  
  870. The asynchronous driver must be loaded before any asynchronous connection
  871. can be made.
  872.  
  873. 3.  To set up the terminal line to become a static asynchronous DECnet line,
  874. enter the DCL command SET TERMINAL at your terminal.  If there is more than
  875. one terminal attached to your VMS system, you must specify a SET TERMINAL
  876. command for each terminal line that will be used for a static asynchronous
  877. DECnet connection.
  878.  
  879. : Nondialup line: for a nondialup configuration, enter the following SET
  880.   TERMINAL command to convert a terminal line to a static asynchronous line:
  881.  
  882.   $ SET TERMINAL/PERMANENT/PROTOCOL=DDCMP device-name:
  883.  
  884.   In this command, device-name is the name of the terminal port that is
  885.   connected to the line that you want to make a static asynchronous DECnet
  886.   line( all references to a device in this section refer to the terminal
  887.   port ).
  888.  
  889. : Dialup line: For a dialup configuration, enter the following SET TERMINAL
  890.   command to convert the terminal line to a static asynchronous DECnet line
  891.   with modem control.
  892.  
  893.   $ SET TERMINAL/PERMANENT/MODEM/NOAUTOBAUD -
  894.   _$ /NOTYPE_AHEAD/PROTOCOL=DDCMP device-name:
  895.  
  896. You can ensure that these SET TERMINAL commands will be executed
  897. automatically each time the network is started.  Modify your
  898. SYS$MANAGER:SYSTARTUP_V5.COM command procedure to include all required SET
  899. TERMINAL commands before the command @SYS$MANAGER:STARTNET.
  900.  
  901. 4. After configuring your node, configure the asynchronous lines and
  902. circuits in the network database.  Use NCP commands to define each
  903. asynchronous line and accompanying circuit as being inthe ON state ( The
  904. line and circuit are turned on when SYS$MANAGER:STARTNET.COM is executed.)
  905. Enter the following commands:
  906.  
  907. $ RUN SYS$SYSTEM:NCP
  908. NCP>DEFINE LINE dev-c-u STATE ON RECEIVE BUFFERS 4 -
  909.    _LINE SPEED BAUD-RATE
  910. NCP>DEFINE CIRCUIT dev-c-u STATE ON
  911. NCP>EXIT
  912.  
  913. Baud-rate is the speed at which the line sends and receives data.  For an
  914. asynchronous line or circuit, dev-c-u is defined as follows:
  915.  
  916. dev: the first two letters of the asynchronous device name ( passible
  917.      values are TT and TX).
  918.  
  919. c  : A decimal number ( 0 or a integer ) designating a device's hardware
  920.      controller.  If the third letter on the device name is A, c egauls 0.  If
  921.      the third letter of the device name is B, c equals 1, and so on.
  922.  
  923. u  :The unit number of the device name; u is always equal to 0 or a positive
  924.     integer.
  925.  
  926.     (An example is the device identifier TT-0-0, which represents the
  927.     asynchronous device name TTA0. ).
  928.  
  929. A minimum of four buffers should be allocated for data reception over the
  930. line.
  931.  
  932. If the line speed at the other end of the connection is changed after the
  933. initial static asynchronous connection is made, you can use the DEFINE LINE
  934. command specified in step 4 to change the line speed for your end of the
  935. connection to match the line speed at the other end.  The line speed will be
  936. changed the next time the line is turned on.
  937.  
  938. 5.  For security over a dialup connection, you can run NCP and establish
  939. optional transmit and receive passwords for the local end of the static
  940. asynchronous dialup link.  The transmit password is the password sent to the
  941. other node during connection startup; the receive password is the password
  942. expected from the other node during connection startup.  You must also use
  943. NCP to specify that your asynchronous circuit is to verify the password
  944. supplied by the other node.  If the correct passwords are not supplied, the
  945. asynchronous connection cannot be made.
  946.  
  947. Although transmit and receive passwords are not mandatory for static
  948. asynchronous dialups links, they add to their security of your DECnet
  949. connection.  Passwords can contain from one to eight alphanumeric characters
  950. and must be delimited with quotation marks if they contain spaces.  Specify
  951. the following commands:
  952.  
  953. $ RUN SYS$SYSTEM:NCP
  954. NCP> DEFINE CIRCUIT dev-c-u VERIFICATION ENABLED
  955. NCP> DEFINE NODE node-id TRANSMIT PASSWORD transmit-password -
  956.      _RECEIVE PASSWORD receive-password
  957. NCP>EXIT
  958.  
  959. Node-id is the name of the remote node to which your node will be connected.
  960.  
  961. Note that if you have defined passwords for the local end of the link, you
  962. must notify the remote node system manager to establish transmit and receive
  963. passwords for the remote end of the static asynchronous DECnet dialup link.
  964.  
  965. 6. If the network is not already on, turn on the network at your node by
  966.    entering the following command:
  967.  
  968. $ @SYS$MANAGER:STARTNET
  969.  
  970. This command starts the network and causes the permanent database entries
  971. defined int he previous steps to be entered in the volatile database on the
  972. running network.
  973.  
  974. If the network was already running before you began the static asynchronous
  975. connection procedure, enter the following commands to cause the permanent
  976. database entries to be entered in the volatile database.
  977.  
  978. $ RUN SYS$SYSTEM:NCP
  979. NCP>SET LINE dev-c-u ALL
  980. NCP>SET CIRCUIT dev-c-u ALL
  981. NCP>SET NODE node-id ALL
  982. NCP>EXIT
  983.  
  984. If the line and circuit could not be set on in the volatile database,
  985. causing DECnet to fail to gain control of the line, the following error
  986. message is displayed:
  987.  
  988. % NCP-I-NMLRSP, LISTENER RESPONSE - Operation Failure
  989.  
  990. If the static asynchronous connection cannot be made, refer to the section
  991. on asynchronous connection problems.
  992.  
  993. 7.  If you want to turn off the asyncrononous lines temporarily, run NCP and
  994.     enter the following:
  995.  
  996. $ RUN SYS$SYSTEM:NCP
  997. NCP>SET LINE dev-c-u STATE OFF
  998. NCP>SET CIRCUIT dev-c-u STATE OFF
  999. NCP>CLEAR LINE dev-c-u ALL
  1000. NCP>CLEAR CIRCUIT dev-c-u ALL
  1001. NCP>EXIT
  1002.  
  1003. To turn the static asynchronous DECnet line back on, enter the following NCP
  1004. commands:
  1005.  
  1006. $ RUN SYS$SYSTEM:NCP
  1007. NCP>SET LINE dev-c-u ALL
  1008. NCP>SET CIRCUIT dev-c-u ALL
  1009. NCP>EXIT
  1010.  
  1011. 8.  If you want tos eitch an asyncrhonous DECnet line back to a terminal
  1012. line with DECnet running, you must clear the line and circuit entries from
  1013. the network volatile database.  To clear the entries, enter these commands:
  1014.  
  1015. $ RUN SYS$SYSTEM:NCP
  1016. NCP>SET LINE DEV-C-U STATE OFF
  1017. NCP>SET CIRCUIT DEV-C-U STATE OFF
  1018. NCP>CLEAR LINE DEV-C-U ALL
  1019. NCP>CLEAR CIRCUIT DEV-C-U ALL
  1020. NCP>EXIT
  1021.  
  1022. To switch the line for which modem control was not enabled back to a
  1023. terminal line, enter the following command:
  1024.  
  1025. $ SET TERMINAL/PERMANENT/PROTOCOL=NONE DEVICE-NAME:
  1026.  
  1027. To switch the line for which modem control was enabled back to a terminal
  1028. line, enter the following command:
  1029.  
  1030. $ SET TERMINAL/PERMANENT/MODEM/AUTOBAUD -
  1031. _$ /TYPE_AHEAD/PROTOCOL=NONE DEVICE-NAME:
  1032.  
  1033. Establishing a Dynamic Asynchronous Connection
  1034.  
  1035. A dynamic asynchronous DECnet connection is a temporary connection between
  1036. two nodes, normally over a telephone line through the use of modems.  The
  1037. line at each end of the connection can be switched from a terminal line to a
  1038. dynamic asynchronous DECnet during establishment of a dynamic connection.  A
  1039. dynamic asynchronous connection is normally maintained only for the duration
  1040. of a telephone call.
  1041.  
  1042. NOTE: A dynamic asynchronous connection to a VMS node can be initiated from
  1043. any VMS or non-VMS node that supports the DECnet asynchronous DDCMP
  1044. protocol.
  1045.  
  1046. On a VMS node, you have the option of performing the initial steps of the
  1047. dynamic asynchronous connection process ( steps 1/2 as follows ) before you
  1048. turn on the network at your node ( step 3 ).  The later steps of the process
  1049. ( starting w/ step 4 ) must occur when the line is being switched to DECnet.
  1050.  
  1051. Follow the steps listed in this section to establish a dynamic asynchronous
  1052. DECnet connection.  This procedure assumes the local VMS node is originating
  1053. the connection and switching on the terminal line for DECnet use.  The
  1054. connection must be to a VMS node on which you have an account w/ NETMBX
  1055. privilege.  The steps that the system manager at the remote VMS  node must
  1056. perform in order for the dynamic asynchronous DECnet llink to be established
  1057. successfully are also included in this section.
  1058.  
  1059. 1.  Log in to the SYSTEM account and enter the following commands
  1060. interactively ( or include them in the SYS$MANAGER:SYSTARTUP_V5.COM command
  1061. procedure before you boot the system ).  These commands load the
  1062. asynchronous driver NODRIVER ( NOA0) and install DYNSWITCH software on your
  1063. system.
  1064.  
  1065. $ RUN SYS$SYSTEM:SYSGEN
  1066. SYSGEN> CONNECT NOA0/NOADAPTER
  1067. SYSGEN> EXIT
  1068. $ INSTALL:=$SYS$SYSTEM:INSTALL
  1069. $ INSTALL/COMMAND
  1070. INSTALL> CREATE SYS$LIBRARY:DYNSWITCH/SHARE -
  1071. _ /PROTECT/HEAER/OPEN
  1072. INSTALL> EXIT
  1073.  
  1074. The system manager of the remote VMS node must also enter these commands.
  1075.  
  1076. Additionally, the system manager at the remote VMS node must enter the
  1077. commands that follow.  These commands enable to use of virtual terminals for
  1078. the terminal line that is to be switched, and set the DISCONNECT
  1079. characteristic for the terminal line. ( The virtual terminal capability
  1080. permits the process to continue running if the physical terminal you are
  1081. using becomes disconnected. )
  1082.  
  1083. $ RUN SYS$SYSTEM:SYSGEN
  1084. SYSGEN> CONNECT VTAO/NOADAPTER/DRIVER=TTDRIVER
  1085. SYSGEN> EXIT
  1086. $ SET TERMINAL/EIGHT_BIT/PERMANENT/MODEM/DIALUP -
  1087. _$ /DISCONNECT DEVICE-NAME:
  1088.  
  1089. Device-name is the name of the terminal port to which the dynamic
  1090. asynchronous connection is made.
  1091.  
  1092. 2.  You must establish the required transmit password at the originating end
  1093. of the dynamic asynchronous dialup link.  The transmit password is the
  1094. password sent to the remote node during connection startup.  Use NCP to
  1095. enter a command to define the transmit password for the remote node.  The
  1096. password can contain one to eight alphanumeric characters and should not
  1097. contain any spaces.  Specify the following commands:
  1098.  
  1099. $ RUN SYS$SYTEM:NCP
  1100. NCP>DEFINE NODE node-id TRANMIT PASWORD pasword
  1101. NCP>EXIT
  1102.  
  1103. Node-id is the name of the remote node with which your node is forming a
  1104. connection.
  1105.  
  1106. For each remote node with which you will create a dynamic asynchronous
  1107. DECnet dialup link, you must define a transmit password in a separate
  1108. command.
  1109.  
  1110. The system manager for the node at the other end of the connection must
  1111. define that same password as a receive password for your node ( the password
  1112. expected to be received from your node).  The remote system manager should
  1113. also specify the parameter INBOUND ROUTER or INBOUND ENDNODE, to indicate
  1114. the type of node ( router or end node ) that is expected to initiate the
  1115. dynamic connection.  The remote manager should enter the following command:
  1116.  
  1117. $ RUN SYS$SYSTEM:NCP
  1118. NCP>DEFINE NODE node-id RECEIVE PASWORD password INBOUND node-type
  1119. NCP>EXIT
  1120.  
  1121. 3.  DECnet must be running on both nodes for the remaining steps.  If you
  1122. havenot already done so, turn on the network by entering the following
  1123. command ( and request that the remote system manager do so also):
  1124.  
  1125. $ @SYS$MANAGER:STARTNET
  1126.  
  1127. If the network was already running before you began the dynamic asynchronous
  1128. connection procedure, enter these commands to cause the permanent database
  1129. entry to be entered in the volatile database:
  1130.  
  1131. $ RUN SYS$SYSTEM:NCP
  1132. NCP>SET NODE node-id ALL
  1133. NCP>EXIT
  1134.  
  1135. 4.  The remaining steps can be performed by any VMS user with NETMBX
  1136. privilege.  Log in to your local VMS system and enter the following DCL
  1137. command on your terminal to cause your process to function as a terminal
  1138. emulator ( which makes the remote terminal appear to be a local terminal
  1139. connection ):
  1140.  
  1141. $ SET HOST/DTE device-name:
  1142.  
  1143. Device-name is the name of your local terminal port that is connected to he
  1144. modem.  If both systems use modems with autodial capabilities ( for example,
  1145. DF03, DF112 or DF224 modems that support an autodial protocol ), you can
  1146. optionally include the /DIAL qualifier on the SET HOST/DTE command to cause
  1147. automatic dialing of the modem on the remote node, as follows:
  1148.  
  1149. $ SET HOST/DTE/DIAL=number device-name:
  1150.  
  1151. 5.  If you are not using automatic dialing, dial in to the remote node
  1152. manually.
  1153.  
  1154. 6.  Once the dialup connection is made and you receive the remote VMS system
  1155. welcome message, log in to your account on the remote node.
  1156.  
  1157. 7.  While logged in to your account on the remote node, enter the following
  1158. command to cause the line to be switched to a DECnet line automatically:
  1159.  
  1160. $ SET TERMINAL/PROTOCOL=DDCMP/SWITCH=DECNET
  1161.  
  1162. The following message indicates that the DECnet link is being established:
  1163.  
  1164. %REM-S-END - control returned to local-nodename::
  1165. $
  1166.  
  1167. To check whether the communications link has come up, specify the following
  1168. command on the local system:
  1169.  
  1170. $ RUN SYS$SYSTEM:NCP
  1171. NCP>SHOW KNOWN CIRCUITS
  1172. NCP>EXIT
  1173.  
  1174. The resulting display should list a circuit identified by the mnemonic TT or
  1175. TX, depending on the asynchronous device installed on the line, and indicate
  1176. that is is in the ON state.
  1177.  
  1178. When the DCL prompt ($, by default) appears on your terminal screen, you can
  1179. begin to communicate with the remote node over the asynchronous DECnet
  1180. connection.
  1181.  
  1182. If the dynamic connection is not made successfully, refer to the section on
  1183. asynchronous connection problems.
  1184.  
  1185. 8.  As an alternative to switching the terminal line to a DECnet line
  1186. automatically ( as described in the previous step ), you can switch the line
  1187. manually.  If you originate a dynamic connection to a VMS node from anon_VMS
  1188. system, manual switching is required; from a VMS system, it is optional.  If
  1189. you are originating the connection from a non-VMS node, follow
  1190. system-specific procedures to log in to the remote VMS node by means of
  1191. terminal emulation.
  1192.  
  1193. Once you are logged in to the remotenode, two steps are required to perform
  1194. manual switching:
  1195.  
  1196. Using your account on the remote VMS node, specify the SET TERMINAL command
  1197. described in step 7, but add the /MANUAL qualifier:
  1198.  
  1199. $ SET TERMINAL/PROTOCOL=DDCMP/SWITCH=DECNET/MANUAL
  1200.  
  1201. You will receive the following message from the remote node indicating the
  1202. remote system is siwtching its line to DECnet use:
  1203.  
  1204. %SET-I-SWINPRG The line you are currently logged over is becoming a DECnet
  1205. line
  1206.  
  1207. You should exit from the terminal emulator and switch your line manually to
  1208. a DECnet line.  The procedure depends on the specific operating system on
  1209. which you are logged in.  The following example shows how a VMS user
  1210. originating a dynamic connection would perform this procedure.
  1211.  
  1212. : Exit the terminal emulator by pressing the backslash (╪) key and the CTRL
  1213.   key simultaneously on your VMS system.
  1214.  
  1215. : Enter the following command to switch your tierminal line to a DECnet line
  1216.   manually:
  1217.  
  1218. $ SET TERMINAL/PROTOCOL=DDCMP TTA0:
  1219.  
  1220. : Enter NCP commands to turn on the line and circuit connected to your
  1221. terminal port TTAO manually, as in the following example:
  1222.  
  1223. $ RUN SYS$SYSTEM:NCP
  1224. NCP>SET LINE TT-O-O RECEIVE BUFFERS 4 LINE SPEED 2400 STATE ON
  1225. NCP>SET LINE TT-O-O RECEIVE BUFFERS 4 STATE ON
  1226. NCP>EXIT
  1227.  
  1228. Asynchronous DECnet is then started on the local VMS node.
  1229.  
  1230. 9.  You can terminate the dynamic asynchronous link in one of two ways:
  1231.  
  1232. a:  Break the telephone connection.
  1233. b:  Run NCP and turn off either the asynchronous line or circuit.  The two
  1234.     commands you can use are as follows:
  1235.  
  1236.     $ RUN SYS$SYSTEM:NCP
  1237.     NCP>SET LINE dev-c-u STATE OFF
  1238.     NCP>SET CIRCUIT dev-c-u STATE OFF
  1239.     NCP>EXIT
  1240.  
  1241.    If either of the above NCP commands is entered at the remote node, the
  1242.    line returns to terminal mode immediately.  If the command is entered at
  1243.    the local (originating) VMS node, the remote line and circuit remain on for
  1244.    approximately four minutes and then the line returns to terminal mode.
  1245.  
  1246. 6.2.2.4 Shutting Down and Restarting The Network
  1247.  
  1248. The network shuts down automatically as part of the normal VMS system
  1249. shutdown procedure.  If your VMS system is running, you can shut down the
  1250. network at your local node without destroying any active logical links by
  1251. entering the following commands:
  1252.  
  1253. $ RUN SYSTEM:NCP
  1254. NCP>SET EXECUTOR STATE SHUT
  1255. NCP>EXIT
  1256.  
  1257. When this command sequence is issued, no new links are allowed; when all
  1258. existing links are disconnected, the network is turned off.
  1259.  
  1260. While your VMS system is running, you can stop the network at your node by
  1261. entering the following commands:
  1262.  
  1263. $ RUN SYS$SYSTEM:NCP
  1264. NCP>SET EXECUTOR STATE OFF
  1265. NCP>EXIT
  1266.  
  1267. All logical links are terminated immediately and the network is stopped.
  1268.  
  1269. To turn the network on manually, specify the following:
  1270.  
  1271. $ @SYS$MANAGER:STARTNET
  1272.  
  1273. To start the network if it is not currently active, you must be logged in to
  1274. the SYSTEM account or have the privileges listed at the beginning of the
  1275. STARTNET.COM command procedure.
  1276.  
  1277. To cause the network to be started each time the VMS operating system is
  1278. booted, enable the following command in the SYS$MANAGER:SYSTARTUP_V5.COM
  1279. command procedure:
  1280.  
  1281. $ @SYS$MANAGER:STARTNET
  1282.  
  1283. The command is supplied in the command procedure; to enable it, use a text
  1284. editor to delete the exclamation point at the start of the command line.
  1285. The network will be turned on automatically as part of the VMS system
  1286. startup.  You will not have to turn on the network again unless you should
  1287. explicitly shut down the network or remove the network startup invocation
  1288. from the site-specific startup command procedure.
  1289.  
  1290. 6.2.2.5 Using NCP to Create and Tailor the Configuration Database
  1291.  
  1292. The system manager is responsible for configuring the node for network
  1293. operation by supplying information in the DECnet-VAX configuration database
  1294. about the following network components:
  1295.  
  1296. The local (executor) node
  1297. Remote nodes with which the local node can communicate
  1298. Local circuits
  1299. Local lines
  1300. Network objects
  1301. network event logging
  1302.  
  1303. The configuration database is actually two databases: a permanent database
  1304. that establishes the deault parameter values for node startup, and a
  1305. volatile database that contains the current parameter values in a
  1306. functioning network.
  1307.  
  1308. You can use the Network Control Program ( NCP ) Utility to build the network
  1309. configuration database manually or to modify its contents.  If you are
  1310. configuring the node for the first time, you can use the automatic
  1311. configuration command procedure, NETCONFIG.COM, to establish parameters
  1312. needed to get DECnet running.  The procedure for using NETCONFIG.COM is
  1313. described in an earlier section.
  1314.  
  1315. When you run NCP and enter a command, NCP will prompt you for selected
  1316. parameters if you do not supply them.  NCP also provides a HELP facility
  1317. with information about each command, which you can access as follows:
  1318.  
  1319. $ RUN SYS$SYSTEM:NCP
  1320. NCP>HELP [topic...]
  1321.  
  1322. Use NCP SET commands to establish the contents of the volatile database.
  1323. Use NCP DEFINE commands to establish the conents of the permanent database.
  1324. You must hav OPER privilege to change the volatile database and SYSPRV to
  1325. change the permanent database.
  1326.  
  1327. The permanent database information is supplied to the volatile database when
  1328. the network is started ( that is, the STARTNET.COM commnd procedure is
  1329. executed ).  You can also use the ALL parameter with the SET command to
  1330. cause all permanent database entries for a network component to be loaded
  1331. into the volatile database.
  1332.  
  1333. The basic NCP commands requried to define the network components in the
  1334. permanent configuration database are as follows:
  1335.  
  1336. $ RUN SYS$SYSTEM:NCP
  1337. NCP>DEFINE EXECUTOR
  1338. NCP>DEFINE NODE node-id
  1339. NCP>DEFINE LINE line-id
  1340. NCP>DEFINE CIRCUIT circuit-id
  1341. NCP>DEFINE OBJECT object-name
  1342. NCP>DEFINE LOGGING MONITOR STATE ON
  1343. NCP>DEFINE LOGGING MONITOR EVENTS event-list
  1344. NCP>EXIT
  1345.  
  1346. NCP commands also recognize the plural forms of the network component names:
  1347. KNOWN NODES, KNOWN CIRCUITS, KNOWN LINES, NKOWN OBJECTS.
  1348.  
  1349. To modify the current configuration of your node, you can enter SET commands
  1350. for any network component.  For example, to add circuit and line entries for
  1351. the Ethernet UNA defice ( the DEUNA ), enter the following commands:
  1352.  
  1353. $ RUN SYS$SYSTEM:NCP
  1354. NCP>SET LINE UNA-0 STATE ON
  1355. NCP>SET CIRCUIT UNA-0 STATE ON
  1356. NCP>EXIT
  1357.  
  1358. To determine the contents of your network configuration database, use the
  1359. NCP commands LIST and SHOW.  The LIST commands displays information in the
  1360. permanent database; the SHOW command displays volatile database entries.  To
  1361. delete entries from the configuratin database, use the PURGE and CLEAR
  1362. commands.  The PURGE command deletes permanent database entries; the CLEAR
  1363. command deletes or resets volatile database entries.
  1364.  
  1365. For example, to list the permanent name/address of a node, enter the
  1366. following commands:
  1367.  
  1368. $ RUN SYS$SYSTEM:NCP
  1369. NCP>LIST NODE nod-id
  1370. NCP>EXIT
  1371.  
  1372. To delete a node form the permanent database, enter the following commands:
  1373.  
  1374. $ RUN SYS$SYSTEM:NCP
  1375. NCP>PURGE NODE node-id ALL
  1376. NCP>EXIT
  1377.  
  1378. Node-id can be either the node name or the node address.  You can also
  1379. delete an individual parameter for a node.
  1380.  
  1381. Because the PURGE command does not affect the volatile ( memory-resident )
  1382. copy of the DECnet database, you can access a node deleted with the PURGE
  1383. command until DECnet is started again.  If you use the CLEAR command to
  1384. delete a node entry, the node entry will reappear in the volatile database
  1385. after DECnet is started again.
  1386.  
  1387. 6.2.2.6 Providing Security for Your DECnet-VAX Node
  1388.  
  1389. Some of the security measures that you can use to protect your files and
  1390. system in a network environment are summarized in this section.
  1391.  
  1392. As manager of a VMS node, you can protect your system against unauthorized
  1393. access by users on other nodes in the network by setting passwords for any
  1394. accounts that you may create.  Otherwise, users on other nodes could gain
  1395. full access to your system by using the SET HOST command to log in to one of
  1396. the accounts on your node.
  1397.  
  1398. Proteting Files and Using Proxy Accounts
  1399.  
  1400. As a user on a VMS node, you can protect the files in your directory against
  1401. access over the network.  To set limits on who can access the files in your
  1402. account, specify the DCL command SET PROTECTION.  If your file is protected,
  1403. a VMS user on a remote node who wants to access your file must be able to
  1404. specify the user name and password of a local account that has the
  1405. appropriate privileges to access the file.  A remote user to whom you have
  1406. given this informatin must then include the authorization information in the
  1407. form of an access control string, "username password", in the VMS file
  1408. specification used to access your file:
  1409.  
  1410. node"username password"::devicd:[directory]filename.type;version
  1411.  
  1412. Establishing proxy accounts.  As system manager of your node, you can
  1413. maintain the security of passwords by preventing their transmission over the
  1414. network.  You can permit selected outside users to access particular
  1415. non-privileged accounts on your node without having to send any explicit
  1416. access control information over the network.  To do this, you must create a
  1417. proxy account that allows a remote user to have access privileges on your
  1418. node without having a private account on your node.  If the remote user is
  1419. assigned a proxy accoount on your local node that maps into a local user
  1420. account, the remote user assumes the same access privileges as the owner of
  1421. the local account.
  1422.  
  1423. the system manager controls the use of proxy accounts at the local node.
  1424. Use the Authroize Utility to create and modify the permanent proxy database,
  1425. NETPROXY.DAT, at your node.  Each NETPROXY.DAT entry can map a single remote
  1426. user to multiple proxy acounts on the local node ( one default proxy account
  1427. and up to 15 additional proxy accounts ).  The proxy database entry
  1428. identifies the user by nodename::username or nodename::(group,member).
  1429.  
  1430. When DECnet is started up, the information in NETPROXY.DAT is used to
  1431. construct a volatile proxy database.  If changes are made to the permanent
  1432. proxy database by means of the Authorize Utility, the volatile proxy
  1433. database is updated automatically.
  1434.  
  1435. Similarly, the system manager at a remote node can create and maintain a
  1436. proxy database of network user having proxy access to specific accounts on
  1437. that node.
  1438.  
  1439. Controlling proxy login access.  For proxy login to be successful, one node
  1440. must be able to initiate proxy login access and the other node must allow
  1441. proxy login access.  To control proxy login for your local ( executor )
  1442. node, use Netowrk Control Program commands to modify the proxy parameters in
  1443. the executor and object databases.  The NCP parameters that specify whether
  1444. a node can initiate proxy login are the outgoing proxy parameters; the
  1445. parameters that specify whether a node allows proxy login access are the
  1446. incoming proxy parameters.  By default, both the local node and the remote
  1447. node can initiate proxy login and allow proxy access.
  1448.  
  1449. Defaults for DIGITAL supplied objects are set in the object database.  For
  1450. example the object MAIL has outgoing proxy access set by default. To specify
  1451. or modify the proxy parameter for a network object, use the NCP command SET
  1452. OBJECT.  Use this command to permit outgoing proxy access for a network
  1453. object:
  1454.  
  1455. $ RUN SYS$SYSTEM:NCP
  1456. NPC>SET OBJECT object-name PROXY OUTGOING
  1457. NCP>EXIT
  1458.  
  1459. Controlling Access to Your Node
  1460.  
  1461. In general, the system manager can control access to the local node at three
  1462. levels:
  1463.  
  1464. Circuit-level access control: for point-to-point connections, especially
  1465. over dialup lines, you can use passwords to verify that the initiating node
  1466. is authorized to form a connectin with your node.  Passwords ar usually
  1467. optional for point-to-point connections but are required for dynamic
  1468. asynchronous connections.
  1469.  
  1470. Each end of a point-to-point circuit can establish a password to transmit to
  1471. the oterh node, and specify a password expected from the other node.  Before
  1472. the link is established, each node verifies that it received the expected
  1473. password from the other node.
  1474.  
  1475. Added security is provided for a dynamic asynchronous connection ( which is
  1476. normally maintained only for the duration of a telephone call ): the node
  1477. requesting the dynamic connection is required to supply a password, but the
  1478. node receiving the login request is prevented from revealing a password to
  1479. the requesting node.
  1480.  
  1481. Node-Level access control:  To conttrol the establishment of logical links
  1482. with remote nodes, you can specify in your network database access control
  1483. parameters that indicate which of the following logical link connections are
  1484. permitted:  INCOMING, OUTGOING, BOTH, or NONE.  Use the NCP commands to that
  1485. follow to specify access parameters for a specific node, and the executor
  1486. parameter DEFAULT ACCESS that applies to any node for which a specific
  1487. access parameter is not specified:
  1488.  
  1489. $ RUN SYS$SYSTEM:NCP
  1490. NCP>DEFINE NODE node-id ACCESS option
  1491. NCP>DEFINE EXECUTOR DEFAULT ACCESS option
  1492. NCP>EXIT
  1493.  
  1494. System-level access control: When a remote user requests access to the
  1495. system, the following means of authorizatin are checked:
  1496.  
  1497. Is an explicit access control string available?
  1498.  
  1499. Does the user have a proxy account on the local node?
  1500.  
  1501. Is there a default nonprivileged DECnet account at the local node?
  1502.  
  1503. If no explicit access control information or proxy account is available,
  1504. DECnet-VAX will attempt to use a default nonprivileged DECnet account to
  1505. access the system.  The default DECnet account allows users to perform
  1506. certain network operations, such as the exchange of electronic mail between
  1507. users on different nodes, without having to supply a name and password.  The
  1508. default DECnet account is also used for file operations when an access
  1509. control string is not supplied.  For example, it permits remote users to
  1510. access local files on which the file protection has been set to allow WORLD
  1511. ACCESS.  If you do not want remote users accessing your node, do notcreate a
  1512. default DECnet account.
  1513.  
  1514. you can request the DEcnet-VAX configuration command procedure,
  1515. NETCONFIG.COM, to establish the default nonprivileged DECnet account and
  1516. directory for you automatically or you can establish the account and
  1517. directory manually, as follows:
  1518.  
  1519. $ SET DEFAULT SYS$SYSTEM
  1520. $ RUN AUTHORIZE
  1521. UAF>ADD NETNONPRIV/PASSWORD=NONPRIV/DEVICE=device-name:-
  1522. _/DIRECTORY=[NETUSER]/UIC=[200,200]/PRIVILEGE=(TMPMBX,NETMBX)-
  1523. _/FLAGS=(CAPTIVE)/NOBATCH/NOINTERACTIVE/LGICMD=NL:
  1524. UAF>EXIT
  1525. $CREATE/DIRECTORY device-name:[NETUSER]/OWNER_UIC=[200,200]
  1526.  
  1527. Device-name is the name of the device on which you have your directory.
  1528.  
  1529. If a remote node requests access to an object on the local node but does not
  1530. supply access control information, any access control information specified
  1531. for the object in the local network database will be used.
  1532.  
  1533. 6.3  keeping the Network Running
  1534.  
  1535. Once you have brought up your system as a network node, you can use a
  1536. variety of software techniques to monitor and test the network.  You can
  1537. also use troubleshooting techniques to resolve problems related to keeping
  1538. the network running.  The tools you can use to monitor the network and the
  1539. types of tests you can perform on the network are summarized in the
  1540. following sections.  Common problems encountered during network operation
  1541. are indicated, along with advice on troubleshooting.
  1542.  
  1543. 6.3.1  Monitoring the Network
  1544.  
  1545. You can monitor network activity using software tools.  Analyzing the
  1546. information you collect can help you to determine whether the network is
  1547. running properly or whether any changes are required to resolve problems or
  1548. improve performance.  Major network monitoring tools include the following:
  1549.  
  1550. NCP display  commands you can use to determine the status and
  1551. characteristics of components in the network.
  1552.  
  1553. NCP counters you can read to obtain error and performance statistics on
  1554. current network operations.
  1555.  
  1556. Network events logged by DECnet that can be reported to you as they happen.
  1557.  
  1558. Other software tools, such as the Ethernet configurator and the DECnet Test
  1559. Sender/DECnet Test Receiver ( DTS/DTR ) Utility, that permit you to learn
  1560. more about network operation.
  1561.  
  1562. 6.3.1.1 Using NCP to Display Information About network Components
  1563.  
  1564. You can use the NCP commands SHOW and LIST to monitor network activity by
  1565. displaying the following:
  1566.  
  1567. Information about the current condigtion of network components ( using SHOW
  1568. commands ) and the startup values assigned to the components ( using LIST
  1569. commands ).
  1570.  
  1571. Counter information about circuits, lines, remote nodes, and the local node
  1572. ( using SHOW COUNTER commands )
  1573.  
  1574. Information about the range of network events being logged by the DECnet
  1575. event logging facitlity ( using SHOW LOGGING commands )
  1576.  
  1577. You do not need any privileges to issue SHOW commands, but you need the
  1578. privilege SYSPRV to issue LIST commands.
  1579.  
  1580. Use the SHOW command to monitor the operation of the running network.  You
  1581. can display the characteristics and current status of network circuits,
  1582. lines and nodes, including the local ( excutor ) node.  This information is
  1583. useful in detecting any changes in the network configuratin or operation.
  1584. For example, if a circuit failure causes some nodes to become unreachable,
  1585. you can use SHOW commands to check the status of the circuit and the nodes.
  1586.  
  1587. In general, the SHOW and LIST commands permit you to indicate what type of
  1588. information you want NCP to display about the particular component you
  1589. specify.  The display types include the following:
  1590.  
  1591.  
  1592. CHARACTERISTICS: Static information that does not normally change during
  1593. network operations ( for example, the identification of the local node and
  1594. the circuits connected to the local node, and relevant routing parameters
  1595. such as circuit cost ).
  1596.  
  1597. STATUS: Dynamic information that usually indicates network operation for the
  1598. running network ( for example, the operation state of the local node,
  1599. circuits, lines and remote nodes ).
  1600.  
  1601. SUMMARY: Only the most useful information from both static and dynamic
  1602. sources; usually a condensed list of informatin provided for the
  1603. CHARACTERISTICS and STATUS display types.  SUMMARY is the default if you do
  1604. not specify a display type.
  1605.  
  1606. COUNTERS:  Counter informatioon about circuits, lines, remote nodes, and the
  1607. local node.
  1608.  
  1609. EVENTS:  Information about which network events are currently being logged
  1610. to which logging collection point.
  1611.  
  1612. When you display information about network components, you can specify
  1613. either the singular or plural form of the component in the NCP command.
  1614. Plural forms of component names are KNOWN ( all components available to the
  1615. local node ), ACTIVE ( all circuits, lines and logging not in the OFF
  1616. state ), and ADJACENT ( all nodes directly connected to the local node ).
  1617.  
  1618. typical examples of NCP display commands follow:
  1619.  
  1620. $ RUN SYS$SYSTEM:NCP
  1621. NCP>SHOW EXECUTOR CHARACTERISTICS
  1622. NCP>SHOW KNOWN LINES STATUS
  1623. NCP>SHOW ACTIVE CIRCUITS
  1624. NCP>SHOW ADJACENT NODES STATUS
  1625. NCP>LIST KNOWN NODES
  1626. NCP>EXIT
  1627.  
  1628. All NCP display commands optionally allow you to direct the information
  1629. displayed to an output file you specify.
  1630.  
  1631. You can display information about network components on remote nodes using
  1632. the TELL prefix in the NCP command.  The format of the command is TELL
  1633. node-id SHOW component.  For example, to look at remote node counters, enter
  1634. the following command sequence:
  1635.  
  1636. $ RUN SYS$SYSTEM:NCP
  1637. NCP>TELL node-id SHOW EXECUTOR COUNTERS
  1638. NCP>EXIT
  1639.  
  1640. 6.3.1.2 Using NCP counters
  1641.  
  1642. You can use NCP commands to display error and performance statistics about
  1643. network components at any time while the network is running.  DECnet
  1644. software uses counters to collect statistics for the executor node, remote
  1645. nodes, circuits and lines automatically.  To display the conents of
  1646. counters, use NCP SHOW COUNTER commands, as in the following typical
  1647. examples of the commands:
  1648.  
  1649. $ RUN SYS$SYSTEM:NCP
  1650. NCP>SHOW EXECUTOR COUNTERS
  1651. NCP>SHOW NODE node-id COUNTERS
  1652. NCP>SHOW KNOWN CIRCUITS COUNTERS
  1653. NCP>SHOW KNOWN LINES COUNTERS
  1654. NCP>SHOW LINE line-id COUNTERS
  1655. NCP>EXIT
  1656.  
  1657. For the local node and remote nodes, counter statistics cover such subjext
  1658. as connection requests, user data traffic, timouts, and errors.  Circuit
  1659. counters cover such topics as the transmission of data packets over the
  1660. circuit, timeouts, and errors.  Line counters cover such information as the
  1661. transmission of bytes and data blocks over the line and relevant errors.
  1662.  
  1663. Use NCP commands to control counter usage.  You may want to reset counters
  1664. to zero if you are extablishing a controlled environment for test purposes.
  1665. To reset counters to zero, use the NCP command ZERO COUNTERS ( the ZERO
  1666. command requries the OPER privilege ).  You can zero counters for the
  1667. executor node and individual nodes, circuits and lines, or all nodes,
  1668. circuits and lines.  In the examples of typical commands that follow, not
  1669. that the word COUNTERS is optional:
  1670.  
  1671. $ RUN SYS$SYSTEM:NCP
  1672. NCP>ZERO EXECUTOR COUNTERS
  1673. NCP>ZERO NODE node-id
  1674. NCP>ZERO KNOWN CIRCUITS
  1675. NCP>ZERO LINE line-id COUNTERS
  1676. NCP>EXIT
  1677.  
  1678. You can regulate the requency with which specific counters are logged by
  1679. entering the following command sequence:
  1680.  
  1681. $ RUN SYS$SYSTEM:NCP
  1682. NCP>SET component COUNTER TIMER nn
  1683. NCP>EXIT
  1684.  
  1685. The variable nn is in seconds.  Expiration of the counter timer causes the
  1686. contents of the counter to be logged and the counter reset to zero.
  1687.  
  1688. 6.3.1.3 Using DECnet Event Logging
  1689.  
  1690. Use the DECnet event logging facility to monitor significant network events,
  1691. such as circuit failures or lost packets, on a continuous basis.  Whenever a
  1692. network error or other meaningful event occurs, the DECnet event logger will
  1693. log an event message to a terminal or file that you specify.  Examples of
  1694. network events that are logged as they happen include the following:
  1695.  
  1696. Changes in circuit and line states ( for example, a circuit failure )
  1697.  
  1698. A node becoming reachable or unreachable
  1699.  
  1700. Circuit and node counter values, logged before the counter is automatically
  1701. reset to zero
  1702.  
  1703. Errors in data transmission
  1704.  
  1705. Use of invalid data link passwords
  1706.  
  1707. Collection and analysis of network events can provide insight into why a
  1708. particular error condition exists or why network performance may vary.
  1709.  
  1710. As events are detected, the event logger sends them to a collection point
  1711. for analysis.  Collection points are called logging sinkgs; they can be
  1712. located on the local node or at a remote node.  Event data can go to one or
  1713. more sinks.  Each of the following types of event sinks handles event data
  1714. in a slightly different way:
  1715.  
  1716. Logging monitor.  A program that receives and processes events.  Events sent
  1717. to the logging monitor are displayed on the screen of any terminal declaring
  1718. itself a "network operator" by means of the Operator Communication (OPCOM)
  1719. facility.  Directing events to the OPCOM terminal is very useful for
  1720. applications where the operator needs to know what is happening on the
  1721. network as it happens.  For example, it may be useful to know that a circuit
  1722. is going down as it happens.
  1723.  
  1724. The automatic configuration command procedure enables the logging monitor.
  1725. The OPCOM process is started when the command procedure
  1726. SYS$MANAGER:STARTUP_V5.COM is executed.  You can enable a terminal as a
  1727. network operator terminal by specifying the DCL command
  1728. REPLY/ENABLE=NETWORK.  Usually the operator console ( OPA0 ) is one of the
  1729. OPCOM terminals.
  1730.  
  1731. Logging console.  A terminal or file that receives events in a readable
  1732. format.  The default logging console is the operator console.
  1733.  
  1734. Logging file.  A user-specified file that receives events in binary format,
  1735. possibly for later analysis.
  1736.  
  1737. In order for logging to occur at your node, logging must be enabled and the
  1738. envents must be identified.  If you use the automatic configuration command
  1739. procedure, NETCONFIG.COM, logging will be established automatically.
  1740. Otherwise you can use the NCP command SET or DEFINE LOGGING to set the
  1741. logging sink state to be ON.  To identify a remote location for a logging
  1742. sink, specify the SINK node-id parameter in the command.  Use one or more
  1743. commands to define the events to be logged.  For example, enter the following
  1744. commands to cause all network events to be logged to OPCOM nd displayed at
  1745. your network operator terminal:
  1746.  
  1747. $ RUN SYS$SYSTEM:NCP
  1748. NCP>SET LOGGING MONITOR STATE ON
  1749. NCP>SET LOGGING MONITOR KNOWN EVENTS
  1750. NCP>EXIT
  1751.  
  1752. Alternatively, for each event class, you can specify the specific events to
  1753. be logged, as follows:
  1754.  
  1755. $ RUN SYS$SYSTEM:NCP
  1756. NCP>SET KNOWN LOGGING EVENTS event-list
  1757. NCP>EXIT
  1758.  
  1759. Events in the event list are identified by class and type ( in the form
  1760. class.type ).  An event class refers to the DECnet software functional layer
  1761. in which the event occurred.  Event classes logged by DECnet include those
  1762. listed in Table 6-2.  The event type is a decimal number representing a
  1763. unique event within the class.  You can use the asterisk (*) wildcard
  1764. character for event types, and you can specify a single event type or a
  1765. range of types.
  1766.  
  1767. ZDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD?
  1768. 3TABLE 6-2: DECnet Event Classes                  3
  1769. CDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD4
  1770. 3Event Clas               DECnet Functional Layer 3
  1771. 3                                                 3
  1772. 30                        Network Management      3
  1773. 31                        Application             3
  1774. 32                        Session Control         3
  1775. 33                        End Communication       3
  1776. 34                        Routing                 3
  1777. 35                        Data Link               3
  1778. 36                        Phsyical Link           3
  1779. 37                        X.25 packet-level events3
  1780. 3128-159                  VMS system-specific     3
  1781. @DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDY
  1782. An example of the command to speify event types 5 through 7 in event class 4
  1783. is as follows:
  1784.  
  1785. $ RUN SYS$SYSTEM:NCP
  1786. NCP>DEFINE LOGGING MONITOR EVENTS 4.5-7
  1787. NCP>EXIT
  1788.  
  1789. The event message displayed by OPCOM is in the following form:
  1790.  
  1791. EVENT TYPE class.typ, event-text
  1792. >From node-address ( node name ) Occurred ( date/time )
  1793. component type and identifier
  1794. descriptive text
  1795.  
  1796. You can use the SHOW LOGGING command to learn what logging is being
  1797. performed.  For example, to display complete information on all logging
  1798. being conducted at all nodes, use these commands:
  1799.  
  1800. $ RUN SYS$SYSTEM:NCP
  1801. NCP>SHOW ACTIVE LOGGING KNOWN SINKS
  1802. NCP>EXIT
  1803.  
  1804. To stop monitory at the network operator terminal temporarily, enter the
  1805. following commands:
  1806.  
  1807. $ RUN SYS$SYSTEM:NCP
  1808. NCP>SET LOGGING MONITOR STATE OFF
  1809. NCP>CLEAR LOGGING MONITOR ALL
  1810.  
  1811. Then enter these commands to turn monitoring back on:
  1812.  
  1813. $ RUN SYS$SYSTEM:NCP
  1814. NCP>SET LOGGING MONITOR STATE ON
  1815. NCP.EXIT
  1816.  
  1817. To disable logging at the network operator terminal permanently, enter the
  1818. following commands:
  1819.  
  1820. $ RUN SYS$SYSTEM:NCP
  1821. NCP>PURGE LOGGING MONITOR ALL
  1822. NCP>EXIT
  1823.  
  1824. 6.3.2 Common Problems Encountered on the Network
  1825.  
  1826. Once you have brought up your system as a network node, you may receive
  1827. messages related to netowrking errors.  Other problems that can occur at any
  1828. time during network operation may not result in messages being displayed.
  1829. This section explains the causes of error messages that may be displayed.
  1830.  
  1831. 6.3.2.1 Common Eorror Messages and Meanings
  1832.  
  1833. When you are using DECnet-VAX, you may receive network-related messages
  1834. indicating software or hardware problems, transient conditions, or errors in
  1835. your input.  The following list displays some common netowrk-related
  1836. messages, explains what condition may be causing each message, and suggests
  1837. actions you can take.
  1838.  
  1839. NCP-I-INVPVA, invalid parameter value
  1840.  
  1841. This message is displayed if you specify a parameter value in an NCP command
  1842. tht is not a valid value for the specified parameter.  The name of the
  1843. parameter for which the value was invalid is displayed at the end of the
  1844. error message.  Re-enter the command with the correct value for the
  1845. parameter.
  1846.  
  1847. SYSTEM-I-LINKEXIT, network partner exited
  1848.  
  1849. This message is displayed if the process on the remote node exited before
  1850. confirming the logical link to your node.  The remote process might have
  1851. exited prematurely, a timeout may have occurred at the remote node, or there
  1852. may be a problem in the log file on the remote node.  You could either retry
  1853. the operation or try to read the NETSERVER.LOG file in the drectory of the
  1854. account you are attempting to access at the remote node.  ( DECnet-VAX
  1855. automatically creates a NETSERVER.LOG file and places it in the directory
  1856. for the appropriate account when it receives a connect request. )
  1857.  
  1858. SYSTEM-F-UNREACHABLE, remote node is not currently reachable
  1859.  
  1860. This message is displayed when you attempt to connect to a node that is
  1861. unreachable.  You can try to access the remote node again at a later time.
  1862.  
  1863. The message is also displayed even if the remote node does not exist, as
  1864. long as you have indicated a node address or a node name that you previously
  1865. defined in your node data base.
  1866.  
  1867. You also receive notice that the node is unreachable if the value of the
  1868. executor parameter MAXIMUM ADDRESS in your network database is lower than
  1869. the address of the remote node you are attempting to access.  Increase the
  1870. value of the NCP executor parameter MAXIMUM ADDRESS in your database to be
  1871. at least as high as the highest addrss of any node that you want to contact.
  1872.  
  1873. SYSTEM-F-INVLOGIN, login information invalid at remote node
  1874.  
  1875. This message is displayed if you attempt to access a remote node using an
  1876. access control string that contains an invalid user name or password, or if
  1877. you do not specify any access control information and no default DECnet
  1878. account or proxy account is available at the remote node.  Retry the file
  1879. operation with the correct login information.
  1880.  
  1881. SYSTEM-F-NOSUCHNODE, remote node is unknown,
  1882.  
  1883. This message is displayed if you attempt to enter a command to access a
  1884. remote node and the remote node represented by node-id is not identified in
  1885. the local volitile database.  Verify that the node identifier is correct,
  1886. enter the node name in your node database, and retry the operation.
  1887.  
  1888. SYSTEM-F-PATHLOST, path to network partner lost
  1889.  
  1890. This message is displayed if you logged in to another node over the network
  1891. ( for example, using the DCL command SET HOST ) and the path to the remote
  1892. node is lost.
  1893.  
  1894. The path may be lost because of too much network activity or communications
  1895. problems, or because DECnet was turned off at the remote node.  Wait, then
  1896. check to see if the node is still reachable.  If so, try again to log in.
  1897.  
  1898. SYSTEM-F-SHUT, remote node no longer accepting connects
  1899.  
  1900. This message is displayed if you attempt to access the remote node using a
  1901. DCL command ( such as the SET HOST command ) under either of these
  1902. conditions:
  1903.  
  1904. The executor parameter DEFAULT ACCESS on the remote node has been set to
  1905. NONE.  The default access at theremote node must be set to permit incoming
  1906. and outgoing access before you can connect to the node.
  1907.  
  1908. SYSTEM-F-NOLINKS, maximum network logical links exceeded
  1909.  
  1910. This message is displayed if the maximum number of links that the remote
  1911. node allows has been exceeded.  Wait and try again later.
  1912.  
  1913. SYSTEM-F-NOSUCHOBJ, network object unkown at remote node
  1914.  
  1915. This message is displayed if you attempt to access a network object at a
  1916. remote node and the object is not specified in the remote node database.
  1917. For example, if you attempt to use the Phone Utility to reach a node that
  1918. does not have an entry for the network object PHONE in its configuration
  1919. database, you receive the above message.
  1920.  
  1921. 6.3.2.2 Problems Related to Network Operation
  1922.  
  1923. Problems in maintaining the proper functioning of the running network can be
  1924. difficult to resolve.  This section describes the technique for isolating a
  1925. problem to a particular DECnet software functional layer or layers, and
  1926. provides troubleshooting suggestions to determine the specific network
  1927. problem.  As system manager of the local node, you may want to consult with
  1928. the network manager ( if one is available for your network ) as necessary to
  1929. resolve these problems.
  1930.  
  1931. Troubleshooting Techniques Based on DNA layers
  1932.  
  1933. Techniques for troubleshooting DECnet-VAX problems are based on the layered
  1934. network design of DECnet-VAX as specified in the DIGITAL Network
  1935. ARchitecture ( DNA ).  The DNA layers are illustrated in Figure 6-1.  Each
  1936. layer performs particular services as part of the overall network capability
  1937. provided at the node.
  1938.  
  1939. During troubleshooting, it is useful to distinguish among the network layers
  1940. in localizing the cause of a particular problem.  For example, some problems
  1941. are characteristic of the Data Link layer, while others are related to the
  1942. Routing layer or to the End Communicatins layer ( which provides logical
  1943. link services ).
  1944.  
  1945.          Figure 6-1: DECnet-VAX Software Design as Based on DNA Layers
  1946. DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
  1947.                     ZDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD?
  1948.                     3             USER LAYER              3
  1949.                     CDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD4
  1950.                     3         3 NETWORK APPLICATION LAYER 3
  1951.                     3 NETWORK 3 SESSION CONTROL LAYER     3
  1952.                     3 MANAGE- 3 END COMMUNICATIONS LAYER  3
  1953.                     3 MENT    3 ROUTING LAYER             3
  1954.                     3 LAYER   3 DATALINK LAYER            3
  1955.                     CDDDDDDDDDADDDDDDDDDDDDDDDDDDDDDDDDDDD4
  1956.                     3                PHSYICAL LINK LAYER  3
  1957.                     @DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDY
  1958.                                                 ZK-6364-HC
  1959.  
  1960. Network Problems and Suggested Actions
  1961.  
  1962. The following discussion of network difficulties identifies typical problems
  1963. originating at the various layers, and it describes actins you can take to
  1964. locate the source of the problem.  The problems are grouped into those related
  1965. data links, routing, and logical links.
  1966.  
  1967. Data link problems.  Inability to reach and active node is a common problem
  1968. on the network.  The problem could be either a data link problem or a
  1969. routing problem.
  1970.  
  1971. To determine whether the problem is a data link problem, examine both the
  1972. remote node and the circuit.  The data link layer causes data to be moved
  1973. over physical devices, so it affects only adjacent nodes ( an adjacent node
  1974. is connected to the local node by a single physical line ).  You can learn
  1975. whether the unreachable node is an adjacent node and whether the node is
  1976. available by checking with the network manager or the system manager of the
  1977. unreachable node.
  1978.  
  1979. Also check the state of the circuits ( the data link protocol causes a
  1980. circuit to be in the ON-SYNCHRONIZING state ).  The problem may be with the
  1981. data link if the circuit does not start up correctly or is up but the
  1982. adjacent node is not reachable.  ( Note that circuit startup may also be
  1983. affected by incorrect setting of the transmit and receive passwords, as
  1984. described in the following section on routing problems ).
  1985.  
  1986. To locate a data link problem, examine the appropriate counters, line and
  1987. circuit parameters, and network events.
  1988.  
  1989. Use NCP SHOW commands to display the contents of the circuit and line
  1990. counters to see if they are reporting errors.
  1991.  
  1992. Use NCP SHOW commands to check the values of line and circuit parameters in
  1993. the network configuration database.
  1994.  
  1995. The look at the network events DECnet logged for event class 4 ( for the
  1996. routing layer ) and event call 5 ( for the Data Link layer ) to determine
  1997. whether any events affecting the data link have occurred.
  1998.  
  1999. Routing problems.  Routing layer problems can involve nodes that are not
  2000. reachable or circuits that are not stable.  The circuit may be up and the
  2001. adjacent node may be reachable, but one or more intermediate nodes ( along
  2002. the communications path ) that should be reachable are not.
  2003.  
  2004. To isolate such Routing layer problems, examine the appropriate counters and
  2005. passwords, and try to check the nodes along the routing path.
  2006.  
  2007. Check the contents of the node and circuit counters at your node and, if
  2008. possible, arrange for the node and circuit counters at the remote node to be
  2009. examined.
  2010.  
  2011. Examine network events logged for event class 4 ( for the Routing layer ).
  2012.  
  2013. Check the setting sof the transmit and receive passwords for the local node
  2014. and the adjacent node to see if they match ( these passwords affect circuit
  2015. startup ).
  2016.  
  2017. Finally, you can use NCP commands with the TELL prefix to try to trace the
  2018. routing path from one node to another, to determine if an intermediate node
  2019. is down and to examine the parameter values for all nodes on the
  2020. communications path.
  2021.  
  2022. If erratic routing behavior occurs ( for example, constant changes in the
  2023. reachability of nodes, or connection to a node other than the one you expect
  2024. to reach ), check whether two or more nodes with the same node address are
  2025. connected to the network.  If routing seems to be functioning properly, you
  2026. can look at executor parameters related to routing ( such as cost and
  2027. hops ).
  2028.  
  2029. Logical link problems.  The End Communications layer, which provides logical
  2030. link servies, can also be the source of common problems.  Typical symptoms
  2031. of logical link problems include
  2032.  
  2033. Link timeout
  2034. Network partner exited
  2035. Invalid account
  2036. Problems with performance and response time
  2037.  
  2038. In general, for logical link problems, you can examinethe following:
  2039.  
  2040. The default DECnet nonprivileged account and directory on the remote node,
  2041. to determine if they have been created properly.
  2042.  
  2043. Incoming and outgoing timers at both ends of the logical link, to ensure the
  2044. links are not timing out prematurely because the timers are set too low.
  2045.  
  2046. The accounting log ( using the VMS Accounting Utility), to determine whether
  2047. the correct process was created or whether a correct process exited
  2048. prematurely.
  2049.  
  2050. The load on the local and remotenodes, to determine whether the load is
  2051. preventing the link from being created.
  2052.  
  2053. The path over the network to the remote node.  If the circuit is an Ethernet
  2054. circuit, check the line buffer size parameter to ensure the proper setting.
  2055.  
  2056. The Netserver timeouts, by getting somone to examine the NETSERVER.LOG file
  2057. at the remote end.
  2058.  
  2059. The proxy settings for your node and for the objects being accessed.  ( To
  2060. determine the default proxy access setting for your executor node, specify
  2061. the NCP command SHOW EXECUTOR CHARACTERISTICS.  To examine the proxy access
  2062. setting for network objects, use the NCP command SHOW KNOWN OBJECTS
  2063. CHARACTERISTCS ).
  2064.  
  2065. The disk quota, to ensure it is sufficient to create the NETSERVER.LOG file.
  2066.  
  2067. The SYS$LOGIN file, to determine whether the file protection is set to
  2068. WORLD:READ.
  2069.  
  2070. If a logical link connection is unsuccessful, the link may gave timed out
  2071. for one of the following reasons:
  2072.  
  2073. A heavily loaded node can cause creation of a logical link to take a long
  2074. time.
  2075.  
  2076. Incoming and outgoing timers may be set to low.
  2077.  
  2078. A logical link problem may cause the message "network partner exited" to be
  2079. displayed.  This message indicates that the remote node exited before the
  2080. logical link was established.  Check the following:
  2081.  
  2082. The networking load on the nodes at each end of the logical connection
  2083. The accounting log on the remote end.
  2084. Netserver timeouts on the remote node.
  2085.  
  2086. If you receive a message indicating an invalid account, check that you have
  2087. the proper authorization to make the logical link connection.  However, an
  2088. invalid account condition may also be reported by the message "network
  2089. partner exited."  Consequently you should try to have somone check the
  2090. NETSERVER.LOG file on the remote node.
  2091.  
  2092. If performance and resonse time over the logical link become degraded, the
  2093. cause may be too much traffic on a path to the target node.  If you
  2094. encounter this problem, consult with the network manager.
  2095.  
  2096. Configuration problems.  The main reason for netowrk errors may be improper
  2097. configuration of the system.  Check your DECnet-VAX configuration, and check
  2098. the communciations calbes and connection.
  2099.  
  2100. 6.3.2.3 Asynchronous Connection Problems
  2101.  
  2102. Attemps to establish asynchronous DECnet connections with other nodes can
  2103. fail ofr a variety of reasons.  This section describes some reasons why you
  2104. may fail to make a static or dynamic connection.
  2105.  
  2106. A static asynchronous connection has failed if the static asynchronous
  2107. DECnet line is started but remains in the ON-STARTING state.  To isolate the
  2108. cause of the problem, check whether the following conditions exist.
  2109.  
  2110. : Are the line speeds at both ends of the connection set to the same value?
  2111. : If you are using a dialup line, is the modem characteristic set on the
  2112.   terminal? ( This must be done before the line is set to asynchronous DDCMP
  2113.   use.)
  2114. : Are the two nodes being connected located in the same area in the network
  2115.   (that is, do their node addresses have the same area number) or are both
  2116.   nodes area routers?
  2117. : Is the parity on the asynchronous DECnet line set to NONE? If your system
  2118.   is not a VMS system, is the terminal line set to the correct parity?
  2119. : Is the terminal line set up to use 8-bit characters?
  2120. : If the node already has an active circuit, is the node a routing node?
  2121. : If verification is enabled  for the circuit, do the passwords set at the
  2122.   two nodes match?
  2123.  
  2124. If you are unsuccessful in setting up your terminal line as a static
  2125. asynchronous DDCMP line, check the following:
  2126.  
  2127. : is the /NOTYPE_AHEAD qualifier specified for your terminal before you
  2128. attempt to set up the static asynchronous line?  If a type-ahead buffer is
  2129. associated with your terminal, you may not be able to bring up your terminal
  2130. line as an asynchronous DECnet line until you terminate any process started
  2131. at the remote node that may own your terminal line.
  2132.  
  2133. If dynamic switching is being performed and the asynchronous DECnet
  2134. connection is not made, first check the following:
  2135.  
  2136. : Is DECnet started on both nodes?
  2137. : Is the asynchronous DDCMP cla driver (NODRIVER) loaded by mean of
  2138.   SY$YTEM:YGEN at each node?
  2139. : Is the dynamic switch image (DYNSWITCH) installed by means of
  2140.   SYS$SYSTEM:INSTALL at each node?
  2141. : Are virtual terminals enabled on the remote node and, in particular, for
  2142.   the terminal over which you are logged in to the remote node?
  2143.  
  2144. If the dynamic asynchronous lines are started by are left in the
  2145. "ON-STARTING" state, make the following checks:
  2146.  
  2147. : Are the two nodes that are being connected located in the same area ( that
  2148.   is, do their addresses have the same area number) or are they both area
  2149.   routers?
  2150. : Are the routing initialization passwords (transmit and receive passwords)
  2151.   set appropriately at each node?
  2152. : Is the INBOUND parameter for the initiating node set correctly in the node
  2153.   database at thenode receiving the connection request?
  2154. : Is the parity on the asynchronous DECnet line set to NONE?  If your system
  2155.   is not a VMS system, is the terminal line set to the correct parity?
  2156. : Is the terminal line at the remote node set up to use 8-bit characters?
  2157. : If the node already has an active circuit, is the node fefined as a
  2158.   routing node?
  2159.  
  2160. $_END OF NIA037
  2161.  
  2162. [OTHER WORLD BBS]
  2163.  
  2164.  
  2165.  
  2166.  
  2167. Downloaded From P-80 International Information Systems 304-744-2253 12yrs+
  2168.